On my phone, all messaging apps run in a seperate user profile. They are still executed, as long as I don't end the session of this user profile. When I configure the user profile that notifications should be shown also when another user profile is active, I get a notification when new message arrive via a messenger.
The notification does only say which app in which profile sent to notification, but contains no content.