I explain and interpret the Endor ground battle another way.
The Ewoks didn’t win because they could take on the Imperial garrison man for cuddly killer bear. They won the same way the Soviets beat back the Nazis: poor Nazi supply lines plus endless waves of disposable soldiers. The Ewoks threw bodies at the problem until the stormtroopers were entirely overwhelmed.