I think in theory they are a great idea, but I feel like I hear 75% of buyback stories ending badly and maybe 25% ending well.

When I sell a horse, I try to stay in touch and give them my permanent contact info. I usually tell them if they ever plan to sell, I'd love to know, but trying to enforce that contractually doesn't seem worth it.