That could probably be made to work today, with the gear used by container cranes to slot containers onto ships, trucks, and railroad cars. It would be more complicated than the snake, because stabilizing a hanging load is hard.
Once in a while it would probably scratch the car body.
What a lot of people here aren't getting is that snake robots are mechanically simple. They're unusual, but neither complex nor expensive to manufacture.