All pubs stock spirits as well as beer and wine, so yes, they can do cocktails. However, pubs tend to prioritise beer over cocktails, so if you're looking for a good cocktail then you should probably look around for a cocktail bar instead!