It’s a good idea, this has come up before – how do we surface Discourse notifications in the “parent” site – but we’ve never had a big customer seriously interested in pushing it forward, so we haven’t had the resources to work on it.
I do think this would be possible through the existing Discourse API; you could use the API call to poll for notifications for the currently logged in user, and then show them however you like on the parent website.