Access and change the "depth" property for the bones that are used to animate the sprite via script

Hello.

There is one sprite with body parts of the character (not PSB). All character parts are the same sprite (which has Order in Layer = 0) and are rendered in one draw call. The order (layers) of the parts relative to each other is determined by the depth setting for all bones in the Skinning Editor.

There is a need to change the depth of the bones through the script. Tell me, please, is this possible?

If not, how else can I change the order of the parts of the character relative to each other, given that there is only one sprite and the option of creating additional sprites is not suitable?