Yes, one can lose weight by drinking some Soylent Green mush with the exact correct caloric count and macros for steady healthy weight loss.
You know what else that person will lose? All happiness and the will to live =)
Some people really are just "food is fuel" and don't care what stuff tastes like, others (like me) actually get enjoyment from eating food, different foods on every day.
This is why there isn't a one size fits all solution to weight loss. Even "calories in calories out" is a bit hazy, because not every single calorie in the food is consumed with 100% efficiency - it depends on your gut bacteria, which we know way too little about.