Engine would be fine because there would oil in it. The bearings etc will retain oil on the surface

It would be the restart that you would be careful about.

Get the car turning over but not starting to build up oil pressure