Technically, yes you can. However, the flavor will not be quite as good. Buy fresh herbs! The fresher the ingredients, the better the end result will be.