So the point is that its easy to over indulge with our modern conveniences and thus developing type 2 diabetes is a lot easier today.
Is it the most effective treatment? Then yes.
That does not preclude also trying to avoid the problem in the first place. But fixing behavioural patterns is one of the things we are worst at. Fixing diabetes won't fix all of the other issues of a bad diet, so it's not like the incentive to improve peoples diets will go out the window, though it might reduce the individual incentives for some people.
But that's true for all kinds of things - we can't withhold treatment options because some people will take the availability of treatment as a reason not to be cautious.
I don't see why the hell not. We already have these in the form of treatments for alcohol/nicotine/opiate dependence.