Fridges cool a smaller contained space and don’t need as big of a compressor. ACs need to dissipate a lot more heat and you need to move that heat outside. You can get a decent mini split AC for $500 these days, and pretty much all mini splits have the valve to reverse the flow to make it heat pump.