Yes! Dried rosemary (or another herb like thyme, marjoram or oregano) is perfectly fine in this recipe.