No, it’s not only Israel. If Israel were not a factor, the military industrial complex would still have plenty of other supposed reasons to keep us involved. Securing the oil (while artificially keeping us dependent on foreign oil for years) has been a favorite. There are any number of local conflicts that can be and have been used in the past to involve us in wars that don’t serve our interests - wars that had nothing to do with Israel. Just look at the Balkans, and Somalia to name just two. The Gulf War, at least the public justification for it, was primarily about protecting Saudi Arabia and the flow of oil.
It’s not just Israel but if we are to completely remove ourselves from the middle east, then our support of Israel must also end otherwise we can never truly leave.