In short yes.
In fact, many air conditioning systems are even more efficient in heating mode than they are in cooling mode.
And they don’t just blow hot & cold air, air conditioning systems can dehumidify, work as a fan only and filter dust, dirt, allergens and odours out of the air.