Optional fields based on item categories

Hi,

Can I have optional fields in ITEMS set as required only in certain scenarios, such as an item category?

We dont need all optional fields for all types of items but when we do need it I want to require it.

Whats the best way to set that up?

Thank you!