Absolutely not. Go after them in Pakistan, man the border, chock it full of surveillance. Setup buffer zones.
Armoured cars, FPV drones, night vision whatever is needed. Get it to the relevant forces and make it cost effective.
Find out who is part of the smuggling between Afghanistan-Iran-Pakistan. Having diesel and cars crossing is one thing, weapons and drugs is another thing. Clamp down on it. If any civilian is part of it, then book him, if any Fauji or FC is part of it court martial him
What is not a reasonable solution however is to nuke the country that is right next you. That's jew talk. Pakistan will gain nothing from killing women and children and should avoid using high intensity bombing because while it kills the target it kills the 10-15 people around him as well. There is a way of doing things.
Sir hamaaray behalf pe bolni ki takaluf na karay.