The common way to get around some regulations is to put the house on a trailer bed if it is under the required square footage. Then itβs a βmobile homeβ and things are more lenient.
It never has to go anywhere. But if you build it right, it can, so you have the added benefit of mobility.