Hello,
Sorry to say it is not possible to disable it for a specific category. But you can hide the variation from them.
Go to Products > All products > edit product, scroll down to the “Product Data” section, and click on the “Variations” tab.
Find the variations you want to hide. Edit each of these variations by clicking on the dropdown arrow next to them.
In the variation settings, look for the “show variation product” and uncheck it.
https://ibb.co/bM45XTcg
When you visit the shop page, the variation will be hidden.
Hope this Helps!
Best Regards,