Yes. Your air fryer is essentially a convection oven, so foil is perfectly safe.