My understanding is surgery only works reliably because failure to comply with life style changes post-op is easily fatal and ethical doctors only perform the operation after patients have demonstrated that ability. In all but the most extreme patients, about a fifth to a third of the target weight loss has to happen pre-op for doctors to even consider the procedure. The surgery is essentially a sword of Damocles hanging over patients, reminding them that they'll die much faster than normal if they over eat.