Using thought work to make overeating ok

I’ve swung from weighing myself each day and feeling bad about the number and being desperate to lose weight, to weighing myself each day and feeling neutral and accepting of the number and watching the number go up each day as I use food for pleasure every chance I get.
Because I’m doing work on self acceptance and self love I feel better despite the circumstance of my weight changing. But as my weight goes up and my clothes get tighter I know I have to stop overeating. It just seems to me that my thought work is making it easier to buffer with food. How do I turn those actions around while accepting myself unconditionally?