Whilst you could, the taste of dried rosemary is quite different to fresh herbs. I recommend only using fresh rosemary.