Can Air conditioner exhaust be used as heater?

its called a heat pump