Is it possible or are there plans to use Macros in bubble?

Hi there!
This is my first post in the forum. :smile:
I would like to be able to use variables (Macros) to change for example the “Type of Data” or “Data Source” dynamically.

What I mean is that for example the name of a datatype is inside a custom state let’s say “type” with the content “User” or “Product” etc.) and I could then use $type
as the Type of Content. Bubble would then depending on the content of type chose User or Product as Type of Content.

Is there a way to do this or are there any plans for the future?
Thanks
Peter