The second part of your question. Jesus came to earth to be the Sacrifice that would redeem us from sin and give us life eternal. Was Judas’ betrayal necessary part of that Sacrifice? If Judas had not betrayed Jesus how then would the Sacrifice had come about?
I do believe, though, that Isaiah prophesied that He would be betrayed. So that means that it was the plan all along.
I'm sure God could have worked out the details.
Honestly, what's the point of all the *what if's*?
They accomplish nothing as there is no answer for them and never will be.