[Spoilers Main] Does HotD season 2 make Rhaegar look a bit like an idiot?

Rhaegar was supposedly intelligent and bookish as a child, so he had to have read up on the Dance of Dragons, right?

The specific issue of Alicient confusing which Aegon to whom King Vizzy was referring likely wouldn't have been recorded in the histories, but the Aegon the Elder and Aegon the Younger titles had to be a clue that two claims to the throne from dudes with the same name can get confusing.

Rhaegar should have known he was potentially setting up another Targaryen succession crisis that could potentially throw the realm into civil war. He secretly annulled his first marriage to Elia to secretly marry Lyana. I assume it was in secret to avoid insulting Dorne, but what's the long term plan there? It has to come out eventually. And now you've got two potential heirs, both named Aegon??

So was he an idiot for not figuring out this could potentially split the realm? You know, if the whole Robert's Rebellion thing hadn't happened first?