Very unlikely.
First, forget flight school in port. The Navy doesn't just TAD people to a 2+ year program for the hell of it.
Second, the earliest you can lat xfer from submarines is post DH. That means 9-10 years of service and lat xfer as an O4 ready to be an XO to throw your hat in the ring with the O1s. Can be done theoretically but it's a step hackward to take two step forward.
There are three scenarios where you can get a waiver to lat xfer earlier:
1. the stars align and DH is overmanned, which will allow the sub force to let you go. That has a snowball's chance in hell of happening, but I've heard its happened on rare occasion.
2. You fail to qualify submarines or fail PNEO twice, thus disqualifying you to go on to be a DH. Only problem here is aviation isn't likely to want a guy who has demonstrated poor performance. Also your QOL from sucking will be miserable.
3. You become NPQ subs, but somehow can pass a flight physical. Dunno what condition can do that, and even in this case NR might make you a SWO nuke.
So yea, there you are.