I marked spoiler even though I don't think it's a spoiler if anyone has been following the story.
I think the next arc (Lodestar) won't be a final battle but between Blackbeard and Luffy that sets up final alliances for the war coming between the government and the Straw Hat alliance. So I wanted to contemplate who would likely join forces with the Straw Hats in the final battle. This will be the bigger battle because we have to consider who is on the evil side: Imu, Gorosei, Seraphim, and most of the Marines who still believe they're in the right
Starting with liberated people in order:
Koby (Luffy's first liberation from Avila, I think Koby will realize the government's direction versus what it could be and will support Luffy -- the way Garp and Roger teamed up in the face of the genocide of Gods' Valley)
The next set of liberated people mostly joined Luffy (Zoro, Nami). I don't see Syrup Valley getting involved though the Straw Hats saved Kaya and defeated Kuro because I don't think they have any military strength at all and they're in the East Blue. Similarly for the people of Shells Town, Cocayasi (where Nami is from) and Foosha (where Luffy is from), and the crew of Baratie (though I can see them wanting to).
Over the grand line, we have contingents (but not full militaries of) Alabasta Kingdom, Drum Island, Sky Island, Water 7 (the galley-la and Franky family contingent), Fishman Island and the Sun Pirates, Dressrosa, and Wano who would like give the Straw Hats support once the secrets of the government's plans to "cleanse the world" are known. And of course, you have the revolutionary armies and Luffy's fanclub. The reason I say contingents is that these countries are still healing, so they're not going to be able to provide full military support.
I believe Elbaph will survive and the children rescued because it'd be so odd for Oda to end a tale involving child abduction darkly (Punk Hazard), though I don't think it'll end in a celebratory manner. It would seem odd to me, though, to see Elbaph end darkly and then just jump to the next island (especially with the child abduction storyline).
However, there's no question of Elbaph being on Luffy's side. And the Minks of Zou will also be in alliance (I think Zunesha itself will also aid the Straw Hats upon seeing Luffy in JoyBoy form).
And of course, you have Amazon Lily (not just the Kuja Pirates, but the whole island) , the Revolutionary Army, and the Red-Hair Pirates who will be strongly allied with Luffy.
So, I wanted to focus on who the more individual/major members of the alliance will be and not necessarily from these particular locations:
Loki - I think he's joining the Straw Hats generally given the promise he made if Luffy freed him (I don't see him being in the Elbaph crew but with the Straw Hats)
Lilith
Law - Luffy's battle with Blackbeard will find him re-allied with Law and Bepo and the crew saved by the defeat of Blackbeard
Bepo - See above
KIdd/Jaggy & Killer -- I know there's a crew, but let's face it, it's these two who are the most important
Duval and the Fish Flyers
Katakuri, Brulee, and Cracker - Despite what happened to Big Mom, their sister, Pudding, was kidnapped by Blackbeard, and I think during the battle with Blackbeard (which I forsee being the battle in Lodestar), they will see themselves on the same side as Luffy and will end up deeply tied. I only chose them because they're the 3 I think are the most morally driven.
Capone and Chiffon - I think they'd also side with the Straw Hats in a final battle
Lola and her crew - granted, not just one, but it's really the return of Lola that matters
Germa 66 - not just because of Sanji, but because I think they have realized that these alliances are actually important and they are no longer able to just trust in their own intelligence and strength
Yamato is a given who will join the Wano group to Luffy's side as the leader of the Beast Pirates (and thus you have to include King and Queen and others)
Marines who realize that the government is in the wrong (Helmeppo [this will be a defining moment for his character], X Drake [undercover ruse was blown] , Smoker, Sengoku, Issho, Tashigi, perhaps some others, but not seeing a mass exodus)
Buggy and Avila (I see them as a team rather than as independents)
Stussy (still alive, obvs), and I think she'd end up bringing along Kaku)
Perona
Gecko Moria
Crocodile
Mister 1
Mister 2
Mister 3
Hawkeye
Marco
I'm not sure Crocus, Rayleigh, and Gabban, who were with Roger, would join the battle or let the youngsters handle it themselves, but I would more envision them being in the alliance rather than sitting back seeing if the world is destroyed by Imu. If Crocus is involved, Laboon would join.
I'm not sure who else I'd list in an alliance with Luffy, even if we thought they'd come back (e.g., Doflamingo, Ceasar, Kaido -- I mean, he's a dragon who fell in lava, and I don't see that killing him). Walpol I also list as unlikely despite helping Vivi (who I include in the contingent from Alabasta with Karoo :))
Shirahoshi is Poseidon with control over the sea kings, so they'll play a role, too (probably on the side of Straw Hats against the artificial sea kings)
Curious other's thoughts about who might be in or who might not join in and arguments for why/why not. I'm not drawing from the anime-exclusive filler arcs.