There's a gas line there already. We had an existing heater a couple years back, but pulled it because the inlet and return were made out of copper on the heater - the chlorine in the water turn those copper lines into Swiss cheese. Prior to Covid probably cost you $2000 to install a nice Pentair MasterTemp.