@ princek70114527 – there are alternatives. Or better put: workarounds.
A. Do tiny square like buttons and order them to the shape you want.
Downside: if you want different designs for different states, this will not work.
What is the target of your button?
B. In case of an URL, you could also use a text frame shaped irregular, fill it with very small text. Apply a hyperlink and format the text with no fill and no stroke.
Also here: it will depend on your design, if this is doable.