If someone was recovering from an eating disorder, how could they participate in Ramadan if it could be harmful to their mental and physical health?
Bismillah,
Asalamu Alaykom,
One should see a specialist and doctor (preferably Muslim) to determine whether fasting could be truly harmful for them after recovering. If it was ruled to be harmful and you yourself know it that can harm you, then it’s possible for you to be exempted until your state improves.
May Allah give you success