Given the context of other Freys named Rhaegar and Aegon (two of them!), it seems more likely that they were named after Targaryens as a way to curry favor, the same way that the Freys have named their kids Tywin (two of them), Jaime, Cersei, and Tion to do the same for the Lannisters.