Is Castle Wolfenstein Based on a True Story?

It's difficult to say for certain, but parts of it are rooted in real history.

The Nazis did pursue the idea of super-soldiers capable of overwhelming the Allies without heavy losses, and by most accounts they ran out of time as the war closed in on them. The later sections of the game, dealing with attempts to raise ancient forces for the war effort, draw on the same well of real occult fascination within the regime.

The newest Wolfenstein, built around the notion of the Nazis harnessing that ancient power, takes the premise to its logical conclusion: had they succeeded, both the war and the world might genuinely have resembled the game.