Yes, and they enjoy it more
Reward-based training tends to produce faster, more reliable learning with fewer stress-related side effects than punishment. Reward keeps a dog engaged and willing to try, while punishment makes many dogs anxious and likely to shut down.