Yes, however, you need to adjust the cooking time. With whole grain rice, for example, you'd need to almost entirely cook the rice in the pan first, or else it won't cook when in the peppers.