There's a saying about golf that probably applies to chess: The best way to improve is to go back in time and learn it at an earlier age.
One can enhance cognitive functions by strength training: https://pmc.ncbi.nlm.nih.gov/articles/PMC8534220/
Aside from time travel, the best way to improve in very important things is through strength training.