Yes, you can use Sharkbite for a hot water heater. Sharkbite fittings can tolerate high temperatures, hence, they are one of the best fittings for a water heater.