Absolutely! To prep whole spices for this recipe, you can toast them on a dry skillet over medium-high heat, tossing often, until fragrant. Transfer the spices to a grinder or a mortar and pestle and grind into a powder, then use as per the recipe instructions.