The engine can be anywhere, it just needs a starter motor hooked up to a battery to turn it over.
I wouldn't recommend doing it without oil but it probably won't harm it. You'd expect slightly higher readings though due to the reduced drag.
You must have all the plugs removed and the throttle plates wide open for consistant measurements.