Nope, the body will adjust to regain it no matter what.
Australia's health organization did a meta study on people who had bariatric surgery. They found that every single one regained 70% of their original weight after five years, even though they were physically incapable of eating the way they did before.
This happened to my grandmother, she had a bypass in the 2000s, lost over a hundred pounds, and then regained it again and was back to her original weight when she passed in 2022. The woman couldn't eat more than 4 ounces per meal without throwing up.
I lost 40 pounds in 2017 from gastritis. I kept it off for three years, and then regained 50 pounds despite starting ozempic.