Generate citizens (variable, names, etc.)

Hello!

I making a manager game, where every citizen would be a individual person, randomly generated names and other properties.

I think every one of them should have at least one variable.

The question is: Is it possible to generate variables by clicking a button on a widget? Like “hire a person” button.
Then it’s generate a variable for the name and for other properties.

Also i might have to put those variables into an array. Can this be automatic?

Is it possible to generate “automatically” or by a button push a “person” like i said above?

Thank you for any help!