Many countries have tried, and it's virtually impossible unless you shut an institution down completely.
Human ingenuity, greed, will always be a step ahead of you.
I think that question you can certainly ask to the commissioner of corrections. She may have some views on this.
I've visited prisons all around the world. The latest one was a week ago. I was in Austin, Texas, and I visited a jail there. I will be visiting one in Rome at the end of the month.
The availability of drugs is always an issue in any correctional facility I've visited around the world.