No, because in most of the cases, a single gas line is not enough for both the furnace and the heater to work, and you might end up with no hot water.