You might as well ask, does Skype/Hangouts/Slack/Email etc on your work machine interfere with your productivity? Yes if you let it.
One of the reasons I like Full Screen mode on OSX. It removes distractions.
I found this app on android called (Off Time) https://play.google.com/store/apps/details?id=co.offtime.kit
Is there any app that can fix this?
Is it really that much of a problem for people?
I'd probably be happier and less distracted if I was "polling" for messages, but I don't trust myself to do that regularly enough so having low friction notifications suits me better.
If you have any urgent issue, please phone me. Asking me by instance messenger do not mean I will response instantly.