Yes, there is an option for you that you can create a team, add your friends to it, or any online player you want to add. After you created a racing team, you can then participate in online events and compete with the other team and defeat them with the highest score, and rank on the leaderboard as the best team.