Having just gone through this process can confirm. You also have different states/counties having different zoning requirements for stuff like wind/snow load, etc. If you're building from materials it's much easier to go from 2x4 -> 2x6 and stronger trusses/foundation than re-engineer a whole modular structure.