I'm fairly certain the general idea of some kind of message/notification/pop-up appearing when a user is afk or away (whether through a pre-written message when someone attempts to Whisper someone ingame or otherwise) has been brought up before, although not much can be done about it until the source code comes into play, as you mentioned. I personally think it would be a lovely idea to implement, but if it's ever able to be added into the game, I'd be all for it, as I can see the benefit in having a notice of absence for those nearby who may want to contact you.