In much of the American desert, heat-pump systems have been standard in new construction for more than 50 years. My first house (1980) in Mesa, AZ had such a system, with the HVAC unit on the roof. Cooling is the primary design factor here, as one can imagine, with so many days at over 110F. Heating performance was not very good, but winter temps rarely went below 40F. At least the electricity cost was not too bad.
Now here in California, the govt is trying to get all new houses to be all-electric, including heat-pump water heaters and HVAC, plus electric ranges. Terrible idea, IMO, for those of us rural dwellers who experience more power outages, and don't want huge whole-house backup systems (battery or generator). Are they doing that in Portugal & Spain where climate is similar?