Yes! As long as everything is cut to even-sized pieces and you do not overcrowd the air fryer, peppers and onions cook well together in the air fryer.