This would be an interesting hypothesis to test—especially in cases where obesity may have been an outcome of people self medicating with food. Fits my own experience too (keto is basically the only intervention that worked for me, and only after I've been able to peel myself away from carbs for a few weeks)
I've been doing a good job avoiding GLPs just because I want it as a last resort option. But still, it wouldn't at all surprise me if this turns out to be one of a few explanations for the link.