Are you aware of the TV Series that ran from 1995-2005 called "JAG," which is almost exactly the same as your premise? It was explained in the show opening that:  

> Following in his father's footsteps as a Naval aviator, Lieutenant
> Commander Harmon Rabb Jr. suffered a crash while landing his Tomcat on
> a storm-tossed carrier at sea. Diagnosed with night blindness, Harm
> transferred to the Navy's Judge Advocate General Corps, which
> investigates, defends and prosecutes the law of the sea. There, with
> fellow JAG lawyer Major Sarah MacKenzie, he now fights in and out of
> the courtroom with the same daring and tenacity that made him a top
> gun in the air.

https://en.wikipedia.org/wiki/JAG_(TV_series)