Fentanyl is dangerous, sure, but until we address the root issues that cause people to take up opiods in the first place (over-prescription, sometimes, but certainly also hopelessness and mental health issues), it'll be an endless game of whack-a-mole.
I think the most cost-effective thing we could do right now to reduce fentanyl deaths is offer test kits free in pharmacies across the country. Anecdotally, the majority of fentanyl deaths I hear of are from people who think they're shooting heroin and don't realize their dope is laced with fentanyl.