I know it was yesterday that Dream brought Tommy back, and I'm relieved he's back, but after thinking about it overnight, I've realized something, and it's entirely possible that someone else has already said this and I just don't know (my dash is like 75% Invader Zim and my friends), but
Tommy doesn't want Dream to bring back Wilbur anymore after spending so much time with him in the afterlife, but Dream wants Wilbur to help him escape. From the start of the stream, it seems kind of like Wilbur isn't in any rush to come back anyways. Then later, with what Tommy tells Dream later, it sounds kind of like Will and Tommy talked about Will exacting some kind of revenge????? I don't know, but Tommy is very desperate and fearful of Wilbur coming back.
What if, due to said desperation, Tommy strikes up a deal with Dream, to help him escape under the condition he doesn't revive Wilbur? Maybe with the added condition that Dream leaves Tubbo alone.
If he did, Tommy would leave the prison, see all the amazing memorials and tributes to him, and know he has to betray them all. It would be this huge internal conflict: he can't let Dream revive Will, but to prevent it, he has to free Dream. Both of these options would hurt everyone, so it would be a matter of him deciding which would hurt less, and if the condition of leaving Tubbo alone was added to the deal, it's likely Tommy would choose to free Dream.
Technoblade may assist Tommy in freeing Dream, repaying the favor he owes, and Ranboo, who, as we all know, hears Dream's voice, could actually help as well. Perhapa in the enderwalk state, and as such he doesn't recall it.
Dream in the end may even bring Will back or hurt Tubbo anyways, seeing it justified to betray Tommy when Tommy has just betrayed the whole server. He'd hurt Ranboo by attacking Tubbo as well, so he'd be turning his back on the one being who, at this moment, physically can't not help him
But yeah, that's my thoughts and stuff about what's goin on rn