Those are anecdotes, the question is how often does it happen? Sure, it's possible, which is why we have reviews aggregating the findings of multiple studies.
The results of one study could be an anomaly, which is why replication is important in science. But when those results get replicated in tens or hundreds of such studies, we can start trusting those findings (although when surrogate markers are involved, their interpretation can be up for debate).
Also when people say "high quality", it's important to understand what it refers to. It means the authors can show that the study was designed for the declared primary outcomes. It means that adherence was ensured, versus an observational study relying on questionnaires. And it means a control group was used for comparison, which was randomized, thus the study preferably showing a dose dependent response.
Having a control group BTW minimizes the impact of the subjects not adhering to the program in the way that you describe, since you'd have rebels in both camps.