Yes, the pods of sugar snap peas and snow peas are edible.   You’ll want to discard the pods of garden peas.