No. The William Tell Overture was composed by Gioachino Rossini in 1829 as the overture to his final opera, Guillaume Tell (William Tell).
Ludwig van Beethoven died in 1827—two years before Rossini completed the opera. The famous "Galop" (finale)—universally associated with The Lone Ranger—is pure Rossini: brilliant, driving, orchestral virtuosity.
Common confusion: Both are "great composers starting with B/R," both wrote iconic overtures (Beethoven: Egmont, Coriolan, Fidelio, Leonore; Rossini: Barber of Seville, Thieving Magpie, Semiramide, William Tell), and both are staples of pops concerts.