You can get power meters which measure the torque (at the hub or crank) and the computer calculates power from that.
Now a power meter seems like a big expense for a exact measure of watts to what end?
I guess you can use it for training but I know when i am getting better and don;t need the exact detail of watts.