Yes!

It is safe for your dog to have thyme. Thyme is not known to be toxic to dogs.