Can variables be dynamic?

I think this is related to a question I asked long ago, for which there didn’t seem to be a ‘Wappler solution’. However, this recent thread looked like it might offer a solution (I couldn’t get it to work but it might be worth looking at more closely - if indeed it is relevant to what you need).