Yes, you can use whole spices. I recommend that you toast the whole spices first in a dry frying pan for a few minutes. Let the whole spices cool and then transfer to a spice grinder or mill. Grind into a fine powder. For quantities, refer to the recipe.