1. Would be cool, I have some ideas in mind. But may spawn under rocks, etc etc etc... Lots of possible "bugs" that need hard work.
2. Not possible right now, but you could achieve it using commands, like :
/sleepingbag
Checks if you have x cloth in your inventory. If so, it deletes x cloth...