Making a separate product, appear as a variant?

I offer a product in a metal version and plastic version. For numerous reasons, I like keeping these as seperate products but I would like each material type to show up as a variant on eachother’s product page.

Is there a way to achieve this?