It’s not a bad idea. Containment was more than just a military strategy; it was a holistic assessment of the weakness of the Soviet Union, an assessment that turned out, on the whole, to be right.
In Kennan’s famous X article he argues that containment meant the “application of counter-force at a series of constantly shifting geographical and political points, corresponding to the shifts and manoeuvres of Soviet policy.” He later clarified, though, that did not necessarily mean that the application of counter-force had to mean a military response. He argued that containment was not a strategy to counter “entirely by military means.” “But containment was not diplomacy [alone] either.”
Like communism, radical Islam is an ideology with worldwide reach. Containing radical Islam requires a worldwide strategy like containment. It requires counterforce at a series of constantly shifting worldwide points. But counterforce does not necessarily mean large-scale land wars with hundreds of thousands of troops nor does it always mean a military action at all.