Peas are mostly starch (for energy) and protein (for growth).
If you feel like having your eyes glaze over,
here's a Canadian study on the potential use of peas and pea-meal in commercial aquaculture feeds as a preferable substitute for the corn, soy or wheat meal currently used in fish food. There's no mention of any laxative effect.
But if raw peas are high in magnesium (I don't know), they could have a laxative effect like Milk of Magnesia, so that might be a possibility.