Technically, as long as you're not eating too many calories, you can lose weight eating anything. The problem is, the high fat/sugar/sodium and empty calories in junk food can also leave you feeling hungry and energy-sapped.
Aiming for higher protein may help with energy and feeling full, as well as high fiber and complex carbohydrates, like Barb pointed out.
Your calories are pretty low. Are these your net calories or overall calories?