Cartesian product on Bubble.io

How can you create a ‘cartesian product’ of Option names and it’s Values in Bubble?
What I want to achieve is this, just like Shopify product variations:

So, as the user types Option names and Values, I need to generate those variations on the fly and list it, maybe on a Repeating Group, ou Excel table, to fill stock numbers or variant images…

Is it possible?