That idea sounds logical, but if you try it, you'll see that it's absolutely diabolical. I saw some systems like that about 10 years ago, but I've not seen it on any modern bike.
Some systems, like Bosch, use a combination of torque, bike speed and pedal speed sensors to inform their power...