Only in recent history or in other languages. In English, the plant has been known as hemp and “cannabis” was only used by botanists up until 1848 when the first reference to it meaning the intoxicating flower came to be (according to the OED). You can find English references to people smoking hemp in books from the 1700s. Though if you go forward into the 1800s, ganja and bhang are brought in from Hindi and Sanskrit into English and quite popular.