I’m on my phone so I can’t easily find my purchase on Amazon, but I do exactly what you’re talking about using a laboratory power supply. It is adjustable for both voltage and current (limits) but other than that it just does it’s thing.
Edit: not mine but should work…
https://www.amazon.com/Adjustable-Switching-Regulated-Quick-Charge-Interface/dp/B08HYK2ZW3