Can I turn on the air conditioner when exercising at home?

Yes, but if you exercise too much, your muscle repair will be affected. When you gain muscle, you need enough calories and protein to repair and over-repair (that is, to thicken muscle fibers). Hiit's calories should be supplemented by your diet, otherwise the intake will be lower than the consumption, resulting in muscle loss.