This kind of exists on the iPhone now. They added “Priority Notifications” which seem to be semantically reading the messages to determine if they are urgent.
Yeah but I think they're asking based on the content of the notification. Like a friend that always talks shit 99% of the time so you don't have on priority but when they send "help i just got mugged" at 2am it should uh, probably let it thru.
So definitely doable.
That’s what priority notifications does. It’s not something you set per contact, it reads the messages to determine if they need an immediate response.