The G model hornets are extensively modified with different electrical harnesses and electronics for their role, they're not interchangeable at all in practice. The 20mm cannon is fully removed as well as the wing tip rails to make room for permanently mounted antennas and additional internal equipment. They aren't modular systems, apart from the AN/ALQ-99 or AN/ALQ-249 jamming pods.
Historically there were a few F models pre wired for G systems but the F models in USN inventory don't have this feature and the harnessing work required for the conversation is prohibitive.