I'd be strongly tempted to replace the gas unit and treat electrification as a procrastinable problem.
I presume the district heat is much, much cheaper than direct electric heating at the standard rate. It's hard, or impossible, to get an Economy 7 meter installed these days in the UK. There are smart tariffs, which might help.
Can you get a heat exchanger to put heat from the district heating into your tank? I have no idea whether such things exist, or if they could get a tank hot enough to avoid using an immersion heater as well.
You might look at the Vaillant AroSTOR, which appears to be a weird sort of integrated water tank and heat pump which can move heat from your room into the hot water. Depending on the cost of your network heat you might be a rare case where this actually makes sense. Or more sensibly it can work with just an outside flue, and doesn't need a whole external unit. [on edit: I see you've landed on a similar thing]
[on further edit: it doesn't matter how inefficient such a pump is, it's still not going to be more expensive than direct electric hot water, as you get all the wasted electricity back as room heat which you presumably wanted anyway.]