Attributes can be created design time and not in runtime. The datamodel can’t be changed by using microflows.
You could create something like this, depending on the functional result this could be a fit, by creating a name value pair table that allows you to define the name and value for the new attribute.