Can your body shape change after gaining then loosing

Is it possible after gaining and loosing a substantial amount of weight (from being a healthy weight in the beginning), that fat can hold on to different places compared to where it did before? Eg, having small hips. Putting on loads of weight, loosing the same amount of weight so the percent of body fat is the same as it was originally, but you end up with big hips?

Replies