You're probably referring to Road Rash. There was also a nice inline skating game called Skitchin' on Sega Genesis which was similar.