If you're wondering whether there's a workaround to obtain the National Pokédex without Rotom's involvement, the answer is a definitive no. Across every generation where Rotom inhabits the Pokédex—Platinum, HeartGold/SoulSilver, Black/White, Black 2/White 2, X/Y, Omega Ruby/Alpha Sapphire, Sun/Moon, Ultra Sun/Ultra Moon, Sword/Shield, and Legends: Arceus—the mischievous Ghost/Electric-type serves as the in-universe mechanism that unlocks the National Dex after you've completed the regional Pokédex and/or the main story.
There is no alternative trigger, no hidden NPC, and no secret side quest that bypasses Rotom. Its presence is both the narrative justification and the functional gateway. The games are programmed to check for the completion of the regional dex, at which point Rotom (or the professor, acting through Rotom's interface) upgrades your device. You simply cannot access the National Pokédex without that event firing, and that event is tied directly to Rotom's role.
So if you're playing any of those titles and staring at an incomplete Pokédex, your only path forward is to finish the regional list. Rotom isn't just a mascot; it's the key.