The Ewoks are sort of based on the concept of the Wookies fighting the Empire, but since George had already depicted Chewbacca as being tech-saavy he decided to create a similar, but smaller race with less advanced technology.
We did eventually get a similar battle in ROTS though.