How to change root bone of animation?

Ah, okay, have you tried using a socket that is offset from the root bone?

If you attach the character to the back of the dragon, for sure, the character is going to look ridiculous, bobbing to and fro.

But if you attach a socket directly to the root, then the dragon’s transformations should apply to the rider as well, without the excess motion.