Yes, there is treatment. It begins with a clinical interview and a night or two at a sleep-disorders center where brain activity is monitored. Sometimes medication is helpful, but sleeping pills should be avoided. They can make matters worse by increasing confusion and clumsiness that can lead to injury. Regular use of sleeping pills can also lead to dependency and rebound wakefulness on withdrawal.
Help is available.
Take advantage of it. For help with the physical and emotional problems associated with eating and exercise disorders, talk to your physician and a competent mental health professional.