While there aren't any studies on a long-term ketogenic diet, there isn't any evidence that shows it's harmful. It should be fine as long as your bloodwork levels look good, you're eating a healthy, well-rounded diet, your weight is within a healthy range and you're feeling good. All in all, it is generally considered a safe diet, long term.