Sadly, no. Your electric heater is 100% efficient, yes, but that thermal power plant is lucky to hit 50%, especially if it’s old tech which many are.
On the other hand, burning natural gas at the point of use can be done at 95% efficiency by a condensing boiler or furnace.
That’s not even taking into account transmission losses. With them in play, even a ground-source heat pump has higher emissions than a natural gas furnace.
The only way electrification of heating makes sense is to decarbonise the grid, which should be the first priority. Nuclear and hydro baseload with solar/wind peaking and elastic loads and load shedding to take advantage of the variable supply.