How to disable bones during animation?


I have a question: Is it possible to disable a part of an armature or specific bones in UPBGE when the action is playing? I want to get better performance this way. Its important that I can enable this bones again.

I hope someone can help me.