Yes, you can! Tin foil works in air fryers, unlike microwaves. I do recommend being mindful that tin foil may constrict air from flowing through the bottom of the food. I recommend using parchment or silicone air fryer liners instead.