Hey Ali,
It sounds like disordered eating to me. Disordered eating is odd food behavoiurs, like restricting, that is not related to eating disorders. But then again, I am not a professional.
Eating disorders are often, if not always, not about weight. But they are about control, punishment, perfection. People may focus on the weight, or on not eating, but it's because they really want control, and this is something that they can 'control'.
Restricting can be used as a form of self harm, and even just doing it for a week can be dangerous to your health. If you think you are going to restrict again, talk to someone first. Let someone know what's going on. You might also want to try the
alternatives list, it isn't just for self harm, it can work for eating issues, among other things.
If you need anything, or want to chat, feel free to
pm me.