Gastric bypass?

My mom got it and lost 90lbs the first year. I'm considering it, but I have a pituitary tumor and it messes with my thyroid, causing weight gain. Don't want to go through it just to not lose weight 😔 Any experience with it? I'm just tired of being overweight and exercise and my eating don't make a difference. A bit torn.