Yes; they can but, most legumes can. A few ways to reduce/eliminate any gassy situations: soaking the beans helps reduce cooking time and aids in digestion; taking over the counter medicines (like Beano) can help prevent or reduce symptoms; if you do not normally eat a lot of beans, slowly ease into eating them. Black-eyed peas are incredibly nutrient-dense, with lots of fiber and protein, definitely worth it!