You might not want to cook in batches. And you don't actually need to cook the veggies in a single layer. However, your roasted vegetables may not get the desired browning slight crispness if you just fill the basket. The air fryer roasted vegetables will still be delicious. Just make a point of shaking the basket several times during the cooking process to ensure even cooking. You may also require a longer cooking time.