Yes, and no one would complain if that had been the team plan that everyone agreed to.
The plan may have changed during the race when things don't work well.
Vallter was on the limit, they didn't had more domestiques to do the work, so they changed the plan like and things worked very well. They used the numbers and won the stage. The only team who failed was UAE because they should try with almeida or ayuso respond to vingegaard's attack, or at least putting fisher black working in the peloton.
Visma finally learned after the Tour that sometimes things don't work like expected and it's necessary sometimes to change the plan during the race.
In the Tour de France on the stage of cambasque they didn’t change the plan and then in the end of the stage, they were punished for that.
When Vingegaard attacked on Tourmalet, he should had stopped his attack after 500 m, after seeing that he couldn't drop Pogacar. He pushed until the end of the Tourmalet and attacked again in cambasque when was evident that he didn't had the legs to drop pogacar on that day. It was a mistake specially when he had a good advantage of 1 minute after the previous stage. If Visma changed the plan and vingegaard stopped his attack after 500 m, he would conserve energy and probably wouldn't had lost 22 seconds to pogacar in cambasque.
Sometimes the teams need some flexibility and change the plan during the stages when things don't work like expected.