Question at 10.000$ ;)

I would like to know if it is possible to put a cam player has a mesh that will be in motion via a spline and disable the movement of the player except look around him. If you have any advice I’m interested !
thank you.