Sort of splitting semantic hairs, no? Can’t become obese without eating at a caloric surplus, whether your diet is fresh veg or high fructose corn syrup.
While consuming more than you burn will lead to weight gain regardless of what you eat, I think modern foods are more likely to cause this because of the addictiveness of their high sugar levels, and also the fact that each item contains a LOT of calories… it would be much harder to get fat binge-eating celery than it would be for Doritos.