Here’s my solution for now using the CodeScript Toolkit plugin.
Disable Obsidian’s handling of Android’s back button and have it close the tab if there’s no more notes in the current tab’s history - Share & showcase - Obsidian Forum
Edit: It’s far from perfect. Ultimately it’s impossible to override Obsidian’s backButton listener…