When I'm playing Spotify onto a speaker, it's interrupted by system sounds such as "charging started", "battery low", etc. Is there any way to prevent these interrupts from occurring while I'm playing songs?
Sure. Just turn off audio notifications. That won't have any effect on the media volume.
This will, of course, turn off the phone ringer, which you may not want.