This particular form factor seems inefficient. But there is quite a bit of innovation in the area of building pre-fabricated homes for refugees. These are popping up in a lot of places. Including the Ukraine recently.
And of course there are also some high end options that are popular for building bespoke houses in e.g. the Scandinavian and North American markets.
Basically, pre-fabricated housing is a solved problem from a technical point of view. Cheap to manufacture, easy to deploy, and pretty comfortable to live in. If you think about it, there are numerous viable ways of providing people with some form of shelter to shield them from the elements.
Mostly the issue is not technical challenges but the fact that there's a lot of local push back against the deployment of any form of cheap housing projects in a lot of places. This has nothing to do with their pricing (cheap) or quality (pretty decent) but with the level of protectionism in place to guard prices of existing houses. Solving cheap housing would collapse prices.
That's why you don't find trailer parks in richer parts of the US. However, they are very popular as semi-permanent slums in less rich parts and have been so for many decades. Tens of millions of people live in those actually. Just mostly not anywhere near where the housing shortages are the most urgent.