there are! Land use code. And permitting. Municipal processes for permitting housing have stifled any really serious innovation in construction.
you know why we don't have modular, factory built apartment buildings? Not at scale? Because the municipalities won't permit them. and the real reason they won't permit them is because it would put all their inspectors out of business if you didn't have to do any walls open inspections because it was all built in a factory...