Sounds a bit of a strange idea to me. Traffic of whatever kind will shade it from the sun. I suppose it would be a good idea if the electricity could directly power bikes as they ran over it, a bit like the dodgems at the fair. One of the problems with solar panels, is where to put them. Roofs are a good place, until your roof needs maintenance.
Here in Lincolnshire, we have some of the best agricultural land in the world. We already have several existing solar farms with more planned. We probably have more sunshine hours than say Wales. That is a shame because Wales has some marginal hill farm land that is only suitable for a few skinny sheep.
Not sure what the answer is. Perhaps solar panels that act as a roof, so no separate roof maintenance is needed.