Totally dependent on species.
The natural history of a male ball pythons tells use that if given ample room and a suitable den it will den during the day and then roam at night to hunt, climb trees, seek out female ball pythons, etc. The area it has to cover to fulfill those imperatives is much greater in the wild than in a tank and better in a a tank than a tub.
Any activity increases the expenditure of energy and fuel is burned (metabolism) to meet that expenditure. Considering how affected these animals are by stress, I would suggest feeding less in favor of exercising them in some way.
I keep dispholidines in large arboreal cages and they are constantly moving. While they need to cover larger distances in the wild to find food and shelter, it certainly is better than stuffing them in a tub. Same for drys. Giver them the room and they will use it. They will use a nest or a burrow, they will bask for periods during the day and they will move around in their cages. Difference is that restlessness is an indicator of stress in ball but not in some select other species.
We have inexorably tied successful feeding into being a good keeper. We feel bad when a snake refuses food. In many cases we overfeed them not only because we don't really know their caloric needs, but also because when they eat, we feel some measure of accomplishment.