Can you use mortar and pestle to grind spices?

Our grandmother and mother have used mortar and pestle for grinding whole spices like cloves, cardamom, and star anise. The tool is mostly used for releasing fresh flavours and oils. Despite moving on to the packed species we purchase from the supermarket, the rustic mortar and pestle are seen in everyone\'s kitchen cabinet.