Yes, often. People with ADHD are prone to anxiety and treating that anxiety with appropriate medication is certainly helpful. ADHD is very stressful and difficult to manage, and it is no wonder that so many people with ADHD develop anxiety disorders.
It won’t take away the symptoms of ADHD, though. What it can do is make the ADHD more manageable.