Snowy, you're very up-front and it makes you easier to diagnose. Simply put, you use your eating disorder as a coping mechanism.
Of course a lot of ED sufferers do this, it's no surprise, but to some, it's a soother, a pacifier, an anxiety-breaker.
Think about it. It's your teat. When things go wrong, you turn to a source of true control. You can't solve the problem at hand, so you can at least solve a "problem" that lies elsewhere and feel similar boon to your existence, right?
It's like - if I'm being absolutely clinical about it - You need a gold key. And the giant dragon in front of you has a gold key in it's belly. THE gold key. But you instead decide to run away and face a dragon you dreamt up, and fight it, and get an imaginary gold key from it. Yay! Gold Key! That's what you needed! Except, it's fictional, and you made it.
You're creating a new, solve-easy problem for your easy solution to a problem which isn't so easy to replace.
I suggest you start really focusing on your real problems, because otherwise, you'll never shed the crutch that is your mental disorder!