Legumes are generally considered safe and highly beneficial during pregnancy. They are an excellent source of folate, which is crucial for fetal development and can help prevent neural tube defects. Moreover, the high fiber content in legumes can help prevent constipation, a common issue during pregnancy.