How to make a Snake-like movement?

Ok, so this is maybe a crazy Idea, BUT you could try using a sine to feed the world position offset of vertices using their current position in the snake’s material. I haven’t tested anything like and this is just something out of my head but it may give you some insights.