1 choices in Radio Button

Is it possible to disable 1 choice in Radio Button due to 0 stocks in Data types?

You can create custom radio buttons using icons and custom states. Put a condition, on the radio button that you want to disable if the stock count is 0