Yes it is possible to eat whatever you want and still lose weight.
So what is the catch?
Well whatever it is that you are eating has to be a very small portion.
And thats where the problem lies.
Most calorie dense bad foods are what most people have the hardest time controlling their intake of.
Ever notice how you can eat slice after slice of pizza and never seem to fill up, yet you eat a chicken breast and some veggies and you are full.
Meanwhile the pizza had 6x the amount of calories.
Sure you can have cookies and lose weight. Only have one a day.
Sure you can have pizza, only have one slice a day.
Sure you can have chips, only have 10 a day.
If you eat under your calorie allowance you can eat anything you want and lose weight.
So remember if you are dieting and you need to go off due to social functions then just have a very small portion and you will be fine!