Good idea theres enough energy in an ebike battery to power the thing for ages.
However you really need circuit protection, ie fuse inline with the battery.
The speaker wont cause much if any magnetic issues, your on the right line with the transformer in the inverter though, even wires can cause magnetic issues.
Looks like the Ic has 90v across it from what you've said and the datasheet, I wouldnt recommend poking around with a meter on that voltage, its enough to give you a zap.