Also a Western... Sort of in the Seven Samurai genre...The original Star Wars was a WWII genre movie filmed in outer space.
From Darth Vaders helmet, to the blasters, to the ball turret gunning scenes in the Millenium Falcon.
It was a genre that worked good against ultimate evil with dudes and hot chicks.
Than they ruined it.
But, yes, Lucas was a huge student of WW2... because, basically, in his youth, the 'memory' of the war and the 'good victory' was everywhere. Plus Black and White Good guys/bad guys Cold War themes he grew up with.
So... yeah! Right on! It's what made them so good.
Sirhr