Is it possible to have a behavior similar to Teams, Skype or WhatsApp?

Hi.
My initial idea and doubt is: The app should have a notification sound, similar to the one from Teams, Skype, or WhatsApp, when it receives a notification. Instead of an audio or video call, it should be a push notification. When the notification is received, the app should make the pertinent sound.

Is this behavior possible? I believe it will use the background mode to take precedence over other apps. I am out of ideas on how to implement it. Has anyone gone through something similar and can provide help or point me in the right direction?

Thank you.