Cocaine is often considered a very "social" drug. The only one which isn't really is heroin as you're zonked... but even as I type people gather to drink vast quantities of ethanol, so why not gather for heroin?

If they were legal, better ways of delivery would quickly be found - a transdermal patch to keep you happy for the whole night out for example.