Is gas expensive though? It's like 6p per kWh at the moment with electricity about 25p per kWh for consumers.
I think gas is dirt cheap, heating your home and hot water with electricity is 4x more expensive and costs hundreds a month.
You have to include the costs of conversion - gas power plant. Also you have some some losses during conversion from heat to electricity, a modern gas power plant can be up to 60% efficient.
https://en.wikipedia.org/wiki/Gas-fired_power_plant
Then you have electric distribution costs (costs for building and maintenance of electric grid, transformers, power lines).
In many industrial process heat applications direct burning of gas is preferred, because it lowers the costs.
It’s only x4 more expensive to use electricity with old methods like immersion / resistance heaters
Heat pumps are 400% efficient or more, so have parity or better with gas prices