no.
due to the dog's physiological structure, the dog's legs are muscular and good at running, but its claws are not long enough to grasp the bark, so it is completely impossible to climb trees.
Dietary reasons, the food source of dogs comes from people's breeding, so there is absolutely no need to learn to climb trees in the long evolutionary history of dogs (food is not in trees).
Climbing trees has always been the strong point of cats and primates. Dogs are domestic animals and live with people all the time. People don't live in trees, and dogs don't have to learn to climb trees, so they can't.
The dog legend has evolved from a wolf, which has many characteristics, and the wolf can't climb trees.
Dogs are good helpers in hunting. They are good at catching rabbits and chasing weasels. Hunters always take dogs with them when they go out. Dogs are good at running, but they can't climb trees.