Constant movement

Hi, is there a way to make the player move to the side no matter what? I tried this with teleporting the player ~0.1 ~ ~ making it slowly move to the side, however it is reallz buggy and choppy... Im not sure if there is a way to make it look smoother, for instance using a data merge command?
Continue to help post