Isn't this why so many folks keep it on wheels / a trailer base? That seems to get around many of these issues, but does present difficulty if you're trying to claim it as your permanent domicile.
Zoning laws for land often also include clauses such as, if you purchase land X in zone Y, you must construct a home of N,000 sq ft by time T or you are fined.