Yep I always buy baby carrots for the dogs too.
They don’t digest great but the vet says its fine and they keep their teeth clean.
My little sky terrier seems to have no problem digesting the carrots and our vet has said it’s no problem for him.
I wouldn’t give my dog processed treats when a good natural treat like baby carrots is a far better and more healthy choice.