I honestly see that as part of the reason, yes. There's an idea within American foreign policy called "democratic peace." Keep in mind that this isn't a new issue... it was heavily prevalent during the Cold War as well. What this means is that the more democratic nations there are in the world, there is a less chance that these democratic nations will go to war with each other. This a major theme surrounding America's policy on counterterrorism. It's no surprise that the main reason why terrorists are in Iraq is because they don't want Iraqis to live by the principles that I have previously mentioned.