Yes, if it fits without cutting it you can roast it whole in the air fryer. Roast it at 370 degrees F for about 30 minutes, until it is soft and squishy. I prefer to cut mine in half because then it roasts more quickly and I think it is easier to serve.