You can do this in either online freeroam against randoms in an infected match or you can do it in a private freeroam with any number of friends you want.
I suggest creating a blueprint for a one minute infected match on any of the small playground maps. Airport works great, as it is mostly open.
If you're doing it in private then just find your boosting partner and run into each other as soon as your invulnerability runs out. At the most it will take 15 seconds if you have the perk for extra invulnerability. You know when this happens because your car will change from translucent to solid.
If you're doing this in a public game then just host an infected match and at the worst you'll be playing for 1 minute each run.
You don't have to win or place well. You just have to finish the games.