The welded frame on a bike makes that impossible. You could torch it apart, but then you'd have scrap.
“The welded frame...”
A lot of modern frames consist of carbon fiber tubing glued (and sometimes screwed) into metal lugs including the bottom bracket.
As I understand it, the motors have a vertical shaft with a helical gear that meshes with another gear around the pedal shaft.
Seems it would be relatively easy to insist on pedal assembly removal and inspection, along with inspection of the bore where the pedal shaft runs.
Unless those parts aren’t removable on professional bicycles...
Most of these bikes have carbon fiber frames.
Few of those racing frames are steel. These days they’re composites.