You have the choice to disable notifications only for certain of the irksome apps. For instance, the constant rush of messages from groups and channels on apps like Telegram or WhatsApp may make it difficult for you to work. So, turn off notifications of the apps from which you are distracting from your goal.