Yes, in the right home setup.
Switching to electric heating is worthwhile if you want a low-maintenance, future-proof system with no annual boiler servicing or gas safety checks.
To keep running costs affordable across the UK, it works best in well-insulated properties paired with smart room-by-room zoning, time-of-use tariffs, or a heat pump.
Get more info from The Energy Savings Trust.