There's a reason why they're used. Because they're effective for the vast majority of people.
While addiction can occur in anybody, the data seems to support the opposite conclusion^1 in regards to ADHD people and addictions to prescribed stimulants. Though a simple search on the topic can yield you many other sources citing the same observations.
In fact, people with ADHD are far more prone to developing addictions if ADHD is not treated properly. In an elementary way of thinking, the ADHD brain craves dopamine. So, in a sad way, the options for many ADHD people are:
1. to acquire their dopamine through the care and monitoring of licensed and trained medical professionals => improving their life.
2. to acquire their dopamine through whatever means works for them, typically the ways of boosting dopamine are quite dangerous, unproductive, inefficient, etc.
The average person is either ignorant or refuses to admit that ADHD psychostimulant medications are by far one of the most well researched and well understood medications ever utilized in medicine. This might sound a bit alarming for those unaware, but it's actually hard to find a medication that has this large of an benefical effect with so few side-effects in the large majority of individuals who use them properly.
Speaking of dangers, almost no one ever mentions the dangers of a person with ADHD going untreated. If you want to learn more, I would recommend you read points 78 - 136^2.
[1] https://pubmed.ncbi.nlm.nih.gov/25158998/
[2] https://www.sciencedirect.com/science/article/pii/S014976342...
> After his mother's death in 1971 he started taking antidepressants and amphetamines, despite the concern of his friends, one of whom (Ron Graham) bet him $500 that he could not stop taking them for a month. Erdős won the bet, but complained that it impacted his performance: "You've showed me I'm not an addict. But I didn't get any work done. I'd get up in the morning and stare at a blank piece of paper. I'd have no ideas, just like an ordinary person. You've set mathematics back a month." After he won the bet, he promptly resumed his use of Ritalin and Benzedrine.
My observation has been that usually diagnosis results in dependence on amphetamines.