Hi Gleb,
What are you thinking? Like a python script? Anything's possible..but the more customization you add/perform, the more difficult it becomes for us to support you.
Do you have plans to move forward with a support contract? You might have seen that CM is licensed under the [Gluu Support license](https://github.com/GluuFederation/cluster-mgr/blob/master/LICENSE), which requires an active support subscription for use.
Thanks,
Will