The SNP minister in charge of tackling Scotland's drug deaths crisis has likened the struggle addicts face to her party's attempts to break up Britain.