I don’t know if the coolant in fridges undergoes phase change between gas or liquid or just pressure change and stays a gas, but if it does a phase change, sure.
A gaseous refrigerant is compressed so its pressure and temperature rise. When operating as a heater in cold weather, the warmed gas flows to a heat exchanger in the indoor space where some of its thermal energy is transferred to that indoor space, causing the gas to condense into a liquid. The liquified refrigerant flows to a heat exchanger in the outdoor space where the pressure falls, the liquid evaporates and the temperature of the gas falls.
I don’t know if the coolant in fridges undergoes phase change between gas or liquid or just pressure change and stays a gas, but if it does a phase change, sure.
kagis
https://en.wikipedia.org/wiki/Heat_pump
Yeah, sounds like it does do a phase change.