It is never a good idea to even have someone's ID. As long as you don't try to claim it is your ID, and make clear what you are doing, you haven't broken the law. But the pharmacy may not accept it.
Fort Lauderdale, FL
Jacksonville, FL
Miami, FL