Occams Razor says no. A proper ebike won't stand a chance against the modern queen stage of the tour de france, even if ridden by a professional with appropriate gears otherwise, because the battery would run out half way on the first HC and it would just be a very heavy bike for the rest of the stage. Same with a tiny motor - you gain tiny amount of force but you'll have to carry a full bidon with you on all the cli…
While I don't believe they're being used to cheat in professional cycling, a motor would _definitely_ provide a massive advantage in a cycling race of any kind. A motor easily provides enough power to overcome its weight, and they wouldn't need assistance for the entire race, just an edge at key moments.
Think of the riders themselves as incredibly efficient batteries and motors - they can also recharge at 120g carb/hour. The motor itself is just deadweight over most of this process.