We're talking about obesity. And yeah, anything can make you fat if you over eat it. But most people with a weight problem due to overeating aren't supersizing their salads. Though I am sure there are some outliers here.
Also, what makes you say that avocado and coconut are "really bad for you"? Just curious!