No. Les Paul (Lester Polsfuss) did not invent the electric guitar. The first commercially successful electric guitar was the Rickenbacker "Frying Pan" lap steel (1931), developed by George Beauchamp and Adolph Rickenbacker.
He is rightly considered a pioneer of the solid-body electric guitar and a transformative figure in music technology—but not the original inventor.