When Tyrion nominates Bran to become King of the Six Kingdoms at the end of Game of Thrones, Bran replies with a cheeky "Why do you think I came all this way?" response. This implies on some level that he had already known beforehand that the events leading up to the final battle would result in him being at least chosen or nominated to become King.
That said, I'm having a hard time believing this since up to S8E6 I can't recall any instance indicating Bran has wanted to become King, nor set-up anything to become King. Remember that he has even shed his identity of being "Brandon Stark", and thinks more of himself as the Three-Eyed Raven.
In this sense I am eternally perplexed -- did Bran EVER show any indication prior to being nominated/crowned that he wanted to be crowned King?