Yes!

It is safe for your dog to have rosemary. Rosemary is not known to be toxic to dogs.