That's a doctor issue, not a pharmacy issue. Although they're probably going to need some warehouses with higher clearance levels / restricted access to do this.
I'm all for Amazon filling prescriptions, healthcare is hugely inefficient and any bargaining power Amazon can wrestle away from pharmaceutical companies probably won't negatively impact the consumer.