Overweight pregnancy weight loss, is it possible?

For women who were already overweight before getting pregnant. Is it/ was it achievable to lose or at least maintain weight (when I say maintain I mean if you started pregnancy at 167 were you able to keep that same weight or you couldn’t lose it?)

Please share your successful stories if you have any!!