It’s not easy; you have to override and customize the notification code. If you want to set up a pop notification at the login level, you also have to customize the desk level.
Popup notification if assign event or tasks (without login), provide a similar reference and add your scenario: Bell Notification - #2 by NCP