By Rhaegar and Lyanna's marriage the Starks are now technically members of the royal bloodline. Therefore if by some twist of fate Jon ends up killing Dany and goes to live in the north renouncing his claim, would it be correct to say that Bran would now be the rightful king of Westeros? He is the nephew of Jon Snow(Current rightful king) after all. He could rule with a regency such as Aegon III did with members being Tyrion Davos Sam Bronn etc.
Put simply, would Bran Stark be the rightful King of Westeros in the event of Dany's death and Jon Snow's self imposed exile?
Discount Gendry, assume that he remains a Bastard/is forced to give up him claim via Rhaelle Targaryen.