What you are referring to would be something akin to a hyper-strict keto diet, which I think nearly all medical professionals would consider ill-advised if not outright dangerous.