Yes, living off-grid is legal in the US, but you must adhere to local zoning laws, building codes, and environmental regulations.