No, you should not eat any legumes raw, even if they are unmatured varieties like green beans. Raw legumes can contain harmful substances such as lectins, phytates, saponins, and cyanogenic glycosides that can interfere with your digestion and absorption of nutrients. They can also cause nausea, vomiting, diarrhea, abdominal pain, and allergic reactions. You should always cook your green beans before eating them to deactivate these substances and make them safe and edible.