Question: why did rhaegar marry elia?
Answer: So alliance was sealed by marraige of Rhaegar Targaryen with Dornish princess Elia Martell and Dorne became a part of the realm. She wasn't born when Rhaegar was married, so no. The whole reason Rhaegar had to marry Elia is that she was the closest female connection to the Targaryens left.