I don't think so, but I don't immediately see why you would want to assign numeric indices to the different buttons. Processing the selection would normally be done index-free using a switch...case
case 'Button #1'
case 'Button #2'
If you want to associate selections with numeric values, a slider or spinner would be a more appropriate component.