Patients suffering from eating disorders are receiving MDMA-assisted psychotherapy as a form of recovery. However its not as fun as you might think, it will be administered at limited doses, under strict monitoring, and given only within a very specified kind of psychotherapeutic environment. lol squares. 
The drug is used not as a treatment to any condition, but as an aid to psychotherapy sessions. Under these controlled and secured conditions, It is thought to help patients open up to their psychologist, and I’m not surprised, getting high on MDMA with your therapist must really build a certain level of trust. kidding. The therapist prefers crack.
it’s still early days as he drug is yet to complete the final stage of FDA trials before becoming legal for this use, and due to a lack of funding, there have not been any formal studies carried out. so it’s all sounding a bit shady so far, but apparently these scientist guys know their shit. Research into the nature of the drug indicates that it will indeed be appropriate for this use, because it acts on the serotonergic and dopamine systems. these are very big words so I trust them. Timothy Brewerton, clinical professor of psychiatry and behavioural sciences at the University of South Carolina, explains that what makes MDMA particularly unique and relevant to eating disorder therapy sessions, is the oxytocin system. (another large word) “This has to do with social bonding and pro-social feelings and can enhance therapeutic alliance.” in dumb person terms, the drug could be useful in building trust between a patient and their psychologist, which is imperative to total disclosure, and consequentially, helping them overcome the disorder. If the drug passes the final stage of FDA trials, this would be one of very few medications prescribed to 
those suffering with eating disorders, and therefore could be a real breakthrough in recovery for the disorder. 

It all sounds slightly weird, but I think thats just because we associate MDMA to those tiny colourful pills with smily faces on, but I’m sure the doctor isn’t gonna hand you a little bag full of those and tell you not to tell your mum.