According to Healthline, Edamame beans are legumes, which are generally excluded from the keto diet. However, they’re high in dietary fiber, which helps compensate for some of the carbs. Modest portions of these beans are fine on a keto diet.