Well diet is what you eat, fasting is when you eat. You seem to have a diet problem.
Not to say that fasting is not a very effective way to drop weight. For me fasting not only helped me do that but more importantly it helped me have a better relationship with food. Before I just could not be hungry; if I was everything would stop until I got to eat. On top of that I would snack a lot. When I started fasting I was able to see my eating habits for what they were; conditioned habits that I could take control over.
I’m still fasting to lose weight but more importantly I get to enjoy food without letting it just be an impulse thing.
IF is worth it for anyone, it’s the way all humans should be eating honestly. I recommend doing some research, because weight management is just one of many benefits of IF and fasting in general. It’s easy once you get a bit used to it.