Yes, but only if there is undeniable evidence they are planning an attack or have carried one out
And only if capture, interrogate and imprison or death penalty is not an option. No action should be taken without approval from the country they are in.