Kind of ... no, not really. Walking at 2mph with both feet on the ground, very different from balanced on a frame of pipework rolling at 5mph. Much more likely to 'land on your feet' when walking.
Parent poster wrote 5 km/h which is really the speed of most walkers not 5 mph. I'm sure that if you get hit by a car that's going fast enough it won't really matter if you have a bike, a skateboard, or just the soles of your shoes…