Most ordinances or codes grant homeowners the authority to install their own water heater, provided they have an inspection done after.