Yes, you can roast a couple of heads of garlic in the air fryer. Follow the instructions on the recipe card to prepare the garlic heads, and wrap each one separately.