...you are indeed correct...! one example that I am familiar with is the Vought A-7 aircraft...the principal Air Force version was the A-7D and the principal Navy versions were the A-7A, A-7B and later, the A-7E....Navy aircraft have heavier landing gear so as to be able to take “controlled crashes” which are really what arrested landings on aircraft carriers are...also, avionics and the internal 20 MM cannon differ among the types....interestingly, the Navy named the A-7 as the “Corsair II” in honor of its WWII namesake; the Air Force never adopted that name for its A-7 fleet....after all, it WAS a Navy name.....!!!
F-111 was supposed to, but didn’t work out that well.
F-4’s were used by the Air Force and Navy.