You’re much too complicated. The simplest thing to do is produce enough oil cheaply to collapse the cost of oil world widewide—so that oil is as cheap as it was —in inflation adjusted dollars— in 1972 — or a year before the first OPEC oil embargo.
That will effectively defund the gulf states and deprive them of the spare resources they use the fund madrasses all over the world—but especially in Pakistan...that serve as the top of the funnel for terrorists around the world.
I'd rather bet on American ingenuity than Afghan self-interest.