Yes, you can use ground versions for convenience, but whole spices offer a more robust flavour, especially when dry roasted and ground fresh.