In’t the size of the container a limitation?
In the UK, prefab house panels can often larger than a container and constructed on large platforms
The container is used to ship the tooling, you could purchase the raw material local to site and build what you need there.
https://www.facit-homes.com/building-process