On rare occasions some fighters do.
Unfortunately theres not a lot you can do to stop it when your going 100% all out.
Its always in the back of my mind.
The only time i can recall needing a restroom while flying was one time i miscalculated a hole in the clouds and ended up flying through...