Hello AshTag,
I’m able to rotate a cube endlessly/smoothly with this setup:
One important aspect is changing the keyframe types to ‘Linear’ (as opposed to ‘Auto’ so it does not slow to a stop between loops) - But it sounds like that’s not your problem.
Maybe you’ll spot something different about your setup.