It was extremely widespread in Russian Empire too. To the extent that not only poets and artists used morphine and cocaine, but also some high ranking officials. One of the police chiefs, for example, was both morphinist and alcoholic.