While most air fryers come with non-stick baskets or trays, using a glass or ceramic dish to cook lasagna in the air fryer is generally safe. However, ensuring that the dish is oven-safe and compatible with the air fryer's size and capacity is essential. Always refer to your air fryer's manual for specific guidelines on using different cookware.