Cheating through hidden electric motors ought to be better for the sport than doping. Doping is bad in ways that go beyond the integrity of the competition: it damages the health of riders, or in some cases kills them; the illegality results in the corruption of doctors and pharmacists; the tests are time-consuming, unreliable, and intrusive. Whereas electric motors are safe, legal, and hard to dispute when you're caught.