I’m not sure why it would hurt anything for a short duration. That said, I wonder if like a front motorcycle fork, if it could be over compressed? What vehicle?
I’m sure you know a lot of vehicles have slots in the frames for transport on ship or rail. I frequently trailer my Jeep, and previously trailered my Samurai and they both have holes/slots in the frame ideal for chain binder or large semi trailer style ratchet straps.
I would think putting the vehicle on a 4-post lift and strapping it down to the rail ramps would be the most easy. That or pulling it onto a car trailer.