Suggestion for bedroom furniture for a small home?
You could get some ideas from Resource Furniture designs. I have a feeling they're a little pricey (you've got to request quotes), so you may just be able to look at some concepts they have and make a DIY version.

Specifically, if you're looking to have a desk and a bed in the same room, here's a good option: