To contextualize my question, I'm going to tell you what I'm not asking: Im not asking for proof of Ismah as a doctrine, but rather why Prophets have been given ismah in the context of predestination and free will. Moreover, I am not asking for proof of free will either.

My question is in multiple parts and I've done my best to break it down into yes/no type questions.

Were Prophets chosen from the start or were they chosen conditional to whether someone in a society was capable of accepting Prophethood (by their own merit)?

If the former, then can't the objection be brought up that those prophets were essentially predestined heaven (and therefore making Allah unjust in some way)?

If the latter, then is it possible for ordinary people to reach the level of prophets?

If this is not possible and if what makes prophets better than ordinary humans the fact that Allah has granted them wahy and knowledge, then is it fair ask why ordinary people don't also receive that same treatment as mentioned by 12:24 which would thereby guarantee them heaven and protection from sin?

If the granting of wahy and knowledge is conditional upon someone having intelligence and purity, then is it a reasonable objection to say that intelligence is not a controllable factor?

If intelligence is not a controllable thing, then can the same objection be brought up that most intelligent people who are granted prophethood are guaranteed heaven (thus making Allah unjust again) because their uncontrollable faculty of reasoning was why they were granted wahy which prevents them from sin? (That is, someone's uncontrollable circumstances has led them to have a higher capacity, and therefore they have a greater opportunity to reach a higher level of heaven than ordinary people)

Please forgive the scatterbrained question, I had to think about how I was going to ask this. I'm not sure if you can ask for clarification on this app, so forgive any confusing wording.

Yes I understand how this question can go round in loops

With Allah there is no time. He created time. In His infinite knowledge He knew that these people (Prophets and Ahlulbayt) would be suitable to attain ismah. He does not need to create them to then see they’re good and grant them Ismah. He knew before creation.

Is this predetermination? Not really, since they have a choice and can sin if they wanted. In Quran a number of verses confirm this.

Therefore they’re the best people to receive this

Could we also have been those people? Possibly, but the choice was made for them. Why we don’t know. Some had to be chosen. Could we reach their ismah? Not their level but some level is possible.

The other thing to consider is some areas might confuse us more when we keep thinking about them, for eg what happened before creation of the universe, time etc..our intellect has not been created to take this information. Allah knows best