Milwaukee M18 tool battery communication protocol
github.com
github.com
If you really want to use it outside m18 tools you want something that turns off when voltage drops below 17 or 16 or so.
Exactly opposite from the manufacturer POV.
You are making N tools with N protection circuits and N x M batteries.
Instead of N tools, N x M batteries and N x M protection circuits.
Once drained, the charger would no longer re-charge, and if I remember correctly, after opening the pack up, cells were at very low voltage.
Remember it would have to switch up to 20+ amps of 18v so it would be a hefty relay.