There may be something to that, at least according to one study. Specifically, this article [1] indicates "embracing new mental challenges may be the key to preserving both brain tissue and brain function."
[1] https://www.health.harvard.edu/healthy-aging/what-does-it-ta...