Yes, in a pinch, a mason jar with a tightly fitting lid can be used to shake cocktails. However, it's not as efficient as a proper cocktail shaker..