Yes! It is perfectly safe to put aluminum foil in an air fryer, but when air frying vegetables, parchment paper, or cooking the veggies directly on the basket is usually a better choice.