Eating soybean pods is not recommended, because the pods are tough. You will find the chewing required is in inverse proportion to any edible satisfaction to be gained – and what you try to swallow will likely cause digestive upsets.
Soybeans contain a fibrous plant material which cannot be fully broken down internally. Similarly, the pods of younger soybeans (known as edamame) are unpalatable, even after cooking. It is fine to boil or steam soybeans in their shells, as this can enhance the flavor of the beans, particularly if you are seasoning your beans. But if you grow soybeans, it is best to focus on the much tastier and far more nutritious pod contents: just make sure they are totally cooked before consumption.