Yes, you can cook a frozen pie in an air fryer. The cooking time will vary depending on the recipe or type of pie. However, as a general rule, it is recommended that you cook a frozen pie for between 10 and 15 minutes in an air fryer. If you are unsure, it is always best to check the instructions on the packaging.