Yes, you can substitute dried rosemary for fresh in your focaccia recipe. However, dried rosemary is more potent, so use it sparingly (about 1/3 the amount of fresh) to avoid overpowering the flavor.