how do solaredge power optimizers work? Can I use them to charge battery pack directly?
Yes, there is a flaw, an MPPT tracker can regulate the voltage and current, but most are designed for fixed loads. Lithium ion batteries have charging curve, whatever is feeding voltage and current needs to be able to provide a constant current, then constant voltage, which I doubt the solar edge is programmed to do.



Source: Battery University