This treatment was widely used to control epilepsy before the advent of effective seizure drugs. The extreme difficulty of maintaining this diet made drugs the preferred choice. It is still used for epilepsy that resists drug treatment and doesn't really fall under quackery.
I wonder how many mainstream approaches to health will be considered quacky in 15 years.