While some coffee grinders have the capability to grind spices, it is generally not recommended. The strong aroma and oils from the coffee can linger in the grinder, impacting the flavor of future coffee batches.