Sure, just change the order of Skeleton drawOrder. You may prefer to use an animation, then instead of your code changing the order, your code would apply an animation to do it. This allows it to be configurable in the Spine editor, where the animation is defined.