There's a mod like that, which is Somnia. The thing is, it is not updated to 1.4.2 and probably won't be updated for a while yet. Mod won't be considered if it isn't up to date just yet.
Though, that would be good addition. Alas, not too sure how would it work server-wise.