Yep, that has happened to me before.
There are even more versions of this race track bug i found here:
This is the one where it was the most horrible thing that happened, and its the most game-breaking one, it even happened even when i didn’t tie exactly: Just yet another bug
This one is respawning instead of going back: Leaving race bug
This one is 3 bugs in 1 post: Clipping out of the lobby from the crushers and randomly getting DNPs/DNF by making cars more powerful in races than they are supposed to be, and getting my explosive truck flipped - #6 by felix13422342