Yes, but since frozen peas are fully cooked, make sure to cook your fresh peas first as they won't spend enough time in the pan to get tender. You can also use other vegetables like green beans or broccoli, just make sure they're cooked and in bite-sized pieces.