How to change zigbee group binding from automation?

“zha-toolkit” can be used to achieve zigpy API/CLI and Zigbee low-level stuff that does not yet support, other than that this would probably have to be a feature request for Home Assistant’s ZHA developers.

https://community.home-assistant.io/t/zha-toolkit-toolkit-providing-low-and-high-level-zigbee-commands-through-zha-zigpy/373346