Yes. Sherlock Holmes would inject himself with a 7% solution of cocaine to aid in solving cases. He occasionally used morphine as well.