Well, stunting is called out as something that can arrange for it from generous GMs - ingenious players can get advantage for doing cool things with that Cunning Action from standard rules. A melee halfling rogue can use hiding by constantly weaving between can be used between people. Even in combat, people don't have 360 degree vision, so they do have blind sides. A thief can Use An Object, so throwing sand in someone's eyes, or similar, to temporarily blind them would generate Advantage. Arcane Trickster uses the Mage Hand with his Cunning Action to get Advantage.
I could go on; there's plenty of ways. Flanking's just not one of those ways by default. Admittedly, there will be some times it won't work out, and then you can TWF as a backup plan while someone is within 5'.