Per company policy, flight attendants are not supposed to handle or store passenger medications. Flight attendants may provide ice to passengers in a seperate container (eg airsick bag, passenger’s tupperware container, etc). Your best option would be to bring your medication in an insulated bag, and ask a flight attendant for ice periodically as your ice melts.