It’s unclear. On one hand, there is little evidence of being able to strengthen mental faculties (reasoning, working memory, etc) through practice — only the development of specific skills that can transfer.
Yet, the emotional capacity to do hard work without getting frustrated and quitting (viz. “cognitive endurance”) appears to be its own skill.