Sure. However you may not have hot water if the flame goes out. Get it fixed before you possibly flood the house.