It's risky to make adjustable voltage chargers, because if they're set wrong for the battery they're plugged into, they'll overcharge and possibly start a fire, if the BMS isn't good. If the BMS IS good, it would hopefully stop charging before fire occurs. That's why you usually see them by battery voltage.
That said, we can buy adjustable voltage and current power supplies. I bought one from AliExpress awhile ago:
https://www.aliexpress.us/item/3256...t_main.16.5b9e1802Z9JZ4Z&gatewayAdapt=glo2usa
Another problem with these is that they don't stop charging once it reaches max voltage and min. charge current. It will keep trickle charging forever until you turn it off.
I bought the above power supply (not really a charger) so I could set a LOWER than usual output voltage, knowing that it would only charge the battery to around 80% of its max. For example, a nominal 48 V Li-Ion battery pack is fully charged when it's at 54.6 V. I set the next voltage down (it's not continuously variable) so that it stops charging before reaching full voltage. Then I energize the power supply through a timer, so I don't overdo it.
The Satiator by Grin Technologies is the gold standard. Choose either the medium or high voltage models, depending on which eBike, eMoped you have. You'll have to wire your own charging cable/plug:
https://ebikes.ca/product-info/grin-products/cycle-satiator.html