You can, but just note that the beans will likely be a little more soft. If you do use frozen beans I recommend thawing them first. They will also likely take a little less time to cook so watch the pan closely.