Buildings (houses, factories, etc) via Script

Hi all,
That’s my first post and I hope not to repeat an old Topic.

I am interested to know if someone tried to build / instantiate buildings (house, stores, etc…) just via script using the prefabs as base. (some prefabs for bricks, windows, etc…)

I think could be better than create one by one static enviroments.

Lots of people do that.