It wouldn’t be difficult to write this script as a darktable plugin, but I imagine you’d struggle to convince the maintainers to merge code to allow for searching or categorising based on a custom metadata tag.
I’m less familiar with other programs, but I don’t see any of the proprietary options implementing this.
I live somewhere that very much isn’t car dependant, but there’s still too many of them and it’s still shitty. But I do agree that for those times that they’re still necessary, the smaller the better.