The techniques used to reduce the prevalence of violence could also be deployed against Scotland’s drug-deaths crisis