You can, however, use a Shopify Option variant to trigger a Virtual Option product option to show with conditional logic.
How to add Conditional LogicTo top
To add conditional logic make or edit a Virtual Option.
Check the box for conditional checkbox and select which variant you want to trigger the virtual option to show.
In this example, the product option I just created will only show when Size, Small is selected.