I've known many, many, people to lose weight via extreme diets such as keto. Such diets are unsustainable for almost everyone. It will work for a year or two, but inevitably, they will falter. Often it only takes a very small amount of stress - maybe a hard project at work.
I have never met anyone who uses something like keto successfully. It has always failed, with everyone I've talked to. That doesn't your diet is as extreme as keto. But, it does mean you're not out of the woods, and your perspective on this isn't exactly trustworthy.