Yes, of course you can use fresh rosemary or dried rosemary. Personally, I like to sprinkle fresh rosemary on top of the bread and use dried rosemary for the dough.