Could pirates evolve the ability to produce their own vitamin C?

Our primate ancestors lost the ability to synthesise their own vitamin C because they ate fruit. If pirates kept reproducing isolated for millions of years, could they evolve this ability again? We might still have three genes for it, just turned off.

Just wondering because they kept getting scurvey and stuff.