Not sure only Pi can work, You need a PCB for battery management and motor sense management.
Also it's possible that the expander can't manage the motor driver , but only a test can confirm.
If you want something simple ,take a look at the 2 teensy PCB , It's very simple (no CMS component) and...