There are some pretty prominent voices like Dr Gabor Mate who think that ADHD stems from stressful family life/structure and/or traumas growing up.
I myself was diagnosed with ADHD, and psychedelics healed me and my past to the point where I no longer needed prescribed stimulants, so it’s possible that MDMA could help.