There are steps that can be taken to provide addicts with legal access to their fix in a way that removes cartels from the supply chain and does not equate to "legalizing fentanyl".
Ie: go to a doctor or similar health worker, get a prescription for the thing you’re dependent on, pick up that prescription, do your thing and go on with life.
Is this “giving drugs to drug addicts”? Yes.