You wouldn’t shove 2 engines into the f35.
You could do an update of f35 systems, and put them into a fresh design 25% bigger, 2 engines, longer range for the pacific, still fly of the full size carriers. Would be 90% of what the new fighter will be, 5 years earlier and 20% cheaper.