Replace Armature in game?

I can’t seem to find anything on replacing an armature in with another armature in game.

I don’t mean deleting one, and adding another. I need to maintain parental hierarchy.
I mean like own.replaceMesh('Meshname') but for armatures.

This can be done, right?

You could have two separate armatures that are both togglable. e.g. when one is invisible, the other is visible, and vice versa.

That is one workaround, Im more interested in if the game supports changing from one armature to another.