Cochise County Arizona offers an owner builder amendment which allows you to opt-out of building code and inspections which makes building your off-grid dream home a reality :D
See previous blog post about opting out of building codes in Cochise County, Arizona. This looks like a good option for owner builders, especially if you’re going to use sustainable materials like earthbags, straw bales, etc.
Near the end of the video Derik says the opt-out option may be phased out soon. Sigh. I was hoping this was the start of a trend. A commenter below the video on YouTube said Pima County, AZ has lifted restrictions on tiny houses. Check their zoning page.