While the ketogenic diet can help control seizures in some people with epilepsy, the high-fat content, as well as limited intake of nutrient-rich fruits, veggies, and grains, may become a problem if followed for too long.