Yes — and findings from brain imaging studies suggest that the effects are positive.

ADHD medication use has lasting, positive effects on the brain, according to findings from brain imaging studies. Research also shows that leaving ADHD symptoms untreated carries far greater risks, including unemployment and substance abuse, than does lifelong medication use.

https://www.additudemag.com/long-term-effects-of-adhd-medication-brain/?goal=0_d9446392d6-7c8bcf68b1-310496706