Avoiding old habits/Health at Every Size

Dear falcor,
in the past I had very strict ideas about what I am allowed and what I am forbidden to eat. This was because I got diabetes as a child and doctors tried to cut clear boundaries between the foods I should choose.As a result I felt very anxious about sweets. They were my most favourite food before I became diabetic. I started stopping myslef from eating them, but then at times especially when alone, I would break that boundary and try one or two and then I would just binge on them, because some part of me felt I am weak at this point and wanted to take an advantage. So ye, in my case strict control actually contributed to big anxiety and situations out of control.
What I do now is I allow myself to TRY any food in the world I feel I want. Whenever there are sweets around I know I can have a little bit if I feel I want it (i.e. 20 grams chocolate/ 2 bites from a cake...etc). It just means I take 2-3 units insulin more. This helps me feel relaxed about food and have less cravings.
What I should point out here is that the majority of my food is still diabetic-friendly, I just let myself have little bits of everything I feel I want.