I'd argue there was more to that.
The political climate needed the public to be aligned with meddling a lot with foreign countries (and the Vietnam war was still happening), and passing it as something that isn't just happening, but needs to be done.
The more modern equivalent would be 24h (the tv series), which basically shoved to the public the notion that torturing and going extra-legal ways was something heroes had to do.
24 was developed before 9/11. The pilot was filmed in March 2001 and production started July. It was just a freak coincidence that it was released around the same time as 9/11.
Moreover, heroes going outside the rules is a longstanding trope in American film. Most American law enforcement movies in the 1970s-early 2000s portrayed “the system” as holding back the good guys with bureaucracy and rules. Dirty Harry was 1971. It’s just because we’re Americans, not Europeans.
> It’s just because we’re Americans
This is a specific political ideology that I don't think defines the country. In theory, in 20 years the USA could have a completely different political landscape.