Funny enough I feel like only older “less realistic” driving games would let this be an advantage, Forza for instance realllly slows you down from the friction of hugging a wall
Wall riders are a perpetual bane in multiplayer races. Perhaps Forza and GT finally added measures against that, but among e.g. videos on the ‘Super GT’ simmer channel, you can see plenty of riders, especially in Forza Horizon.