Constrain character movement to landscape spline

Hi I have a winding road in my game, the player input will only be controlled by the players heart rate (they won’t be using a keyboard or game pad so speed is the only parameter they will have control over).
Is it possible to confine the avatars movement so that once speed is generated by the player that the character will follows along the spline of the road (created with the landscape spline tool) ?