I looked for this too (or code my own RUI/XML writer).
Currently, and for many years of requests, there is no API to manage toolbars/buttons.
You can only code a custom panel (or detached windows).
Promised “toolbar improvements” in Rhino 8.
But I don’t know what that means
I wanted to know more, think with the developers, but still no answer from McNeel…