Yes, you can use frozen peppers and onions. Just be sure to thaw them thoroughly before adding them to the air fryer basket, or expect the texture to be a little softer.