Inventory management between variants

I have multiple variants of a product but I’d like the inventory to be synced.

I sell ceramic mugs. The options for variants are how I paint them, glossy or matte. I need the inventory of the mugs to decrease on each sale whether they select glossy or matte.

Is that possible?

Thanks!