Yes, you can cook other vegetables in the air fryer with the carrots, but you will want to ensure they have similar cooking times. Good options include cauliflower, asparagus, Brussels sprouts, and broccoli.