Yes. You can use aluminum foil in an air fryer as long as it's not covering the entire food, or else it obstructs the airflow. Also, always have enough food on top of the foil since you don't want it to flay all around.