Community notifications sensor

Has anyone ever made a sensor reading the notifications status of your community user? Just a binary sensor telling me if there is an unread notification, or how many or even more.
Would that be even possible?