I haven't tried it however I had seizures as a kid and the ketogenic diet cured me, never had a seizure since.
Brain and the Penis is connected so perhaps it may work. But it is a horrible diet, constantly forced to eat meat and boiled chicken and butter.