Well done! If a health "condition" can be fixed by your own changes in behaviour rather than a drug this seems a much kinder (to your psychology and your wallet) way to fix things.
Testing diets are seemingly unavoidable to lose the excess weight that's interfering with one's pancreas. It's generally unavoidable to follow an initial diet to get rid of the excess weight quickly, which is not that joy-inducing. In the longer term it's probably also unavoidable to find a different diet than your historical diet so as to keep your eventual post-diet healthy weight where it is. That seems to be a major difficulty in our world of "convenience" fud stuffed with deleterious content - people put the lost weight back on s old habits continue.
Personally I long ago tried to avoid Supermarket and other over=processed or fast fud-stuffs in favour of a return to the old-fashioned modes of my youth (1950s & 60s) when nearly all meals were made from base ingredients into real food. It makes a huge difference to avoid the vast amounts of excess sugars, salt, UPF and other additions to commercially processed fud that's added to nearly everything these days. Of course, being human I too have my addictions (chocolate and the ladywife's occasional cakes being two).
Doing a significant amount of "hard" (for the individual doing it) exercise can help. "Hard" means getting quite panty, upping the heart rate to 90% of max for significant periods and otherwise pushing all the body parts and functions to perform up to a level that meets the mantra, "What doesn't kill us makes us stronger". Doing this for just 20 minutes every other day can make a big difference to health, as it stimulates all the body's functions into doing what they do rather than sitting dormant and withering down to "near-defunct".