Yes.
Lots of differences.
Position on the bike.
Movement patterns. Muscle recruitment (esp small stabilising muscles.)
Angle of the bike.
It can be approximated, raise the front wheel and using a rocker plate, but it doesn’t totally equal gravity and a climb, and lateral movement (low cadence or otherwise) in the real world.