Yes, you'll lose if you have a calorie deficit. Haven't seen it mentioned on this board, but
The Hacker's Diet was my starting place and convinced me that there's no easy fix and that losing weight is all about the math.
Obviously exercise and balanced meals are optimal and will keep you healthiest, but the short answer to your question is "yes."