I looked into all of this a few years ago. I replaced the gas powered water storage heater with a gas instant on-demand water heater. It was by far the most cost effective solution at the time. We never run out of hot water. Most of the old gas storage heaters are inefficient because of heat loss through the leaky insulation and non-insulated parts of the water tank. It cost around $3K to install the new heater here, mostly due to a larger diameter copper gas pipe that had to be installed between the gas meter and the heater. Did you consider this alternative? Some newer houses already have the larger diameter pipe installed.
As for going green, if your solar panels are producing the energy for the heat pump, that is a big plus in going down the heat pump path. But if you were driving the electricity off the normal mains, that is not so good.
These days the gas producers are ripping us off, without question. When the Russians lose the war, and Australia eventually gets a government that is not weak, gas prices may well drop considerably. Another factor might be Australian will abandon using gas in their droves, reducing local demand. I can see a time not far away when gas appliances will not be allowed in new houses, not due to cost of gas but greenhouse gas emissions.