Also, SMPS PSUs are really bad both in terms of efficiency and voltage ripple under small loads which is the case here (max of 1A at 16 or 24V). I'd rather not go down the path of trying to brute force the issue with more filtering and just stick to batteries.
Whether or not a particular load is "small" and will therefore incur an efficiency penalty depends on where it falls in the SMPS's operating range. For optimum performance (in all respects!) the SMPS needs to be sized appropriately to the anticipated load. But at a more fundamental level, random SMPS modules from Amazon are hardly going to give you a good idea of what can be achieved with an SMPS in general. The designs are going to be pretty crude, the layouts are going to be whatever gets the nets where they need to go, and who knows if the right components ended up on the board--if the right ones were even selected in the first place. An SMPS that is properly designed for the application, using a suitable topology, a modern controller (usually offering higher frequency operation and more sophisticated control modes than older parts), quality parts, and on a well designed PCB can certainly do much better. That doesn't
necessarily mean you have to design it yourself, there will certainly be better quality adjustable modules available from reputable distributors, though they'll just as certainly be a lot more expensive than the Amazon ones.
That said, if you just want to skip all that to get the project done...
What's the total compliance range you anticipate needing? How often do you anticipate needing to switch compliance ranges? And how much energy do you expect to be pulling from the pack between those changes? That will give you a rough idea of exactly how out of balance the pack is likely to get.
There are a couple of things you could do to mitigate the unbalanced discharge. Moving both ends of the current source around the pack so sometimes you're using the top N batteries and sometimes the bottom N batteries will help, but will still tend to leave the middle cells out of balance with the top/bottom cells unless you're always using half of the pack. Or instead of using a permanently assembled pack, you could use discrete cells, and rotate them through the pack--eg, each time you go to charge the pack, move each cell down one position, with the bottom cell moving up to the top. A simple PCB with a bunch of 18650 holders would make that pretty easy.
Alternatively, if you're willing to throw efficiency entirely to the wind, you could do a linear compliance range adjustment. Essentially just put a linear regulator where you would otherwise put an SMPS to set the compliance range. You'll dissipate the same total amount of heat as you would with your current source connected to the whole pack, but that heat will be split between the current source pass transistor and the linear regulator, or even a cascade of linear regulators if you need to spread the heat out even more.