Yes but only socially / at parties, never habitually.
The same goes for drinking and smoking tbf (did both heavily on nights out, never touched either at home).
These days... I go for a small drink a few times a year, VERY rarely even get drunk
(birthdays / weddings are the only times really, and even then only if it's a "no kids yaaaay" occasion). Stopped socially smoking about 5 years ago and haven't touched anything illegal since University.