The opposite happened to me this season.

With 5 games to go, I was in 2nd place, 3 points behind 1st with a GD of +43. At that time, the team in first had a GD of +60.

I went 4-1-0 over the last 5 games while the team in first went 2-2-1.

So, I moved from 2nd to 1st, 2 points ahead. I finished with a GD of +50 while 2nd place had a GD of +62.