Rebel Racing Multiplayer Events are A-Synchronus, meaning that when racing against opponents you are racing against their Ghosts, which is a recording of them doing the race.

As such it's not possible to play against your friends unless you are matched with their ghost.