Weight loss and pregnancy

Has anyone (with the okay of their dr) lose weight while pregnant? I’m still on my weight loss journey and so I’m curious if anyone has been successful in healthy weight loss while pregnant. I have one friend who is above a 30bmi and she lost 25lbs while pregnant. She had a healthy and happy baby boy ❤️