So it turns out we didn't even need to do any of the work ourselves: zkn_form.txt already has all the alt forms listed by name (presumably it's the part of the pokedex that tells you what form you're looking at)
Everything you said for the earlier gens matches it pretty perfectly, with some of the stuff being extra unnamed forms like totem pokemon or partner pikachu/eevee. For the later gens, they use index numbers and not pokedex numbers, so you get a few things like lando moving ahead of zekrom/reshiram and the gen IX gang being in their original datamined order. I'm looking over it right now to see what it might mean for megas.
Edit: Here's what I've found. As a disclaimer, it's entirely possible that some or all of these are not actually mega evolutions, and are some other sort of new form, like a regional or something. It's also possible that the order isn't what I think it is and all of these form IDs belong to other pokemon, whether new or old. And most importantly, it's very much possible that this is all meaningless junk data and the only new megas in the DLC are the Mega Raichus. But probably not.
Likely Mega Candidates
Raichu X (confirmed)
Raichu Y (confirmed)
Mega Chimecho or Mega Tropius
Mega Wynaut? (Could be a second Mega Absol, actually)
Mega Something Sinnoh (After Deoxys, so it is a Sinnoh pokemon, but one before Burmy. Staraptor? Luxray? Roserade?)
Mega Munchlax? Second Mega Garchomp?
Mega (Lucario 2/Hippowdon/Drapion/Toxicroak/Carnivine/Finneon)
Mega Heatran
Mega Darkrai
Mega Mienshao/Golurk (I know someone on r/stunfisk who'd be happy about that)/Bouffalant
Mega Meowstic (unless it's mimi evolving into a secret third meowstic or something)
Mega Vikavolt (pleasepleaseplease) or Mega Crabominable (its gonna be the crab goddammit)
Mega Something Between Salazzle and Silvally
THE WEIRD PART: There are 5(!) scrubs in between Original Color Magearna and GMax Melmetal. If one of these is Mega Zeraora, then the others might be the other gen VII mythicals (including Magearna) + Naganadel. I feel like it'd be weird to have something for Stakataka or Blace but not both of them (or any of the other regular ultra beasts), but if there's one thing game freak's good at, it's not following a pattern.
THE WEIRD PART 2: Right after Crowned Zamazenta, there's an entry that's scrubbed like the rest of these, but it has a tag, unlike everything else in the document. Notably, GMaxes (including Eternamax Eternatus) are considered the 999th form of their respective pokemon, so it might be something funky related to that. I never played Sword or Shield myself, so I don't really know if there was like a cutscene exclusive Eternatus form or something.
Mega (Arboliva/Scovillain/Bellibolt/Revavroom/Orthworm)
Mega (Maushold/Cetitan/BIG BAX)
THE WEIRD PART 3: There are another 6 mystery entries between Tatsugiri and Squawkabilly, going by the SV internal order. The part about this that's weird, though, is that there only 5 fully evolved pokemon possible for that even if you count Tatsugiri. If these really are all mega evolutions, then we would be getting another set of X/Y megas (possibly even two!) with Tatsugiri, Cyclizar (one based on Koraidon, one based on Miraidon?) Pawmot, Kilowattrel, and Bombirdier as candidates.
Lastly, there's one more scrubbed entry between White Squawkabilly and Roaming Gimmighoul. This could be a lot of things: Flamigo, Klawf, Garganacl, Glimmora, Grafaiai, Dachsbun, Mabosstiff, Brambleghast, or of course something for Squawkabilly itself.
Also, all of the SV DLC pokemon are listed after all of the alternate forms, with their own alts (plus bluna) listed after that.
I do think I'm on to something here, though. Other leak stuff indicates that Z-A was intended to release a lot earlier, so it makes sense that there'd be fragments of what they developed for the DLC in its code since it can be hard to fully scrub everything. To give a comparison, Monster Hunter Wilds had a similar thing happen with it just under a year ago, where its open beta test (made from a development build with scrubbed data) ended up not only having data on all of the monsters and areas in the final game, but major story beats as well. And Pokemon is of course no stranger to this, either, what with the Sun & Moon demo fiasco and all. Also, excluding the different WEIRD PARTS (aside from part of the first one), the total list seems to come up to 15 megas, which matches perfectly with the DLC teaser.
and you know its important when i bust out the proper grammar