Heat pumps move heat they don't make it.
Air source heat pumps are at least 300% to 400% more efficient than just electrical resistance heat. Ground-source heat pumps are even more efficient.
All you do is use a bit of electricity to power a pump and some fluid to move heat around no need to burn things. Even better if the power comes from solar, wind, hydro, nuclear.