Yup. And at least here in Finland the pumps come with the resistive heater included so it automatically switches over to it once it gets too cold.
Which where most people live here averages to less then 1 day per year so not a big deal.
Way bigger issue here is some fall storm destroying the power lines and being without electricity for multiple days when it already is cold enough they one needs heating.