I would not advise it - I lost 50lb without even trying by eating low carb. I have huge salads, bit stirfries, lots to eat, and don't gain weight, because it is all low carb. I eat roast meat, or fish, eggs, cheese, put cream in my coffee. I don't need something to restrict the amount I can eat.
For decades I got the eat less, eat low fat eat fibrous carbs, cut out this that or the other - never carbs though. I only ever flet right eating low carb foods, and I only ever lost weight eating them. On a low fat high carb diet I got to 264lb before I stopped weighing.
I won't say more than having a gastric band fitted is not totally safe, just that I really do advise to think again about what you need to do to lower weight. You probably do not need to lose weight to control your diabetes, no matter what you have been told. If an ordinary type two starts to eat low carb then you start back towards normal blood glucose levels from that moment.