Yes, but GOP Senators don’t need to be attacking him for doing what every President has the right to do, use military force
In these circumstances, the small number of Republican Senators who actually support President Trump and the Deplorable Agenda which got him elected have an OBLIGATION to voters. That's to make it clear that it's unacceptable for him to get his feet wet in the swamp. President Trump needed every little part of his voters to get elected in some states. Here (OH) and I suspect some others, there are voters who would've preferred Bernie Sanders or Rand Paul to keep us out of war. Because President Trump has been a critic of Mideast meddling since it first got out of hand (invading Iraq) many chose him over Hillary. Or voted third party or didn't vote. President Trump getting drawn in to staged shenanigans by McCain's terrorists or perhaps at most some rogue elements in Syria is not acceptable, and President Trump has to know that.
A lot of President Trump's voters support him 100%. We do realize that life isn't easy surrounded by swamp creatures. We have to let him know when they're getting their way. Those DC Swampthings who aren't in line with the Deep State have to speak up, too. If not, we've lost.