Well, if you can measure the fuel consumption paired with speed you would have something there. I think they make fuel injected bikes as well as flow meters. Maybe you can rig something up?
At the least do what mythbusters does. Make a fuel cell, weigh it, drive x number of miles at desired speed, then weigh whats left and repeat at different speeds.