Until I saw the "Ikea Hack - Murphy Bed with Sliding Doors" by newfangled
I believe I can do it too! I just bought a next bed and a second hand ikea pax wardrobe with 2 sliding door.
Need another 2 doors to make a similar cabinet. I hope I can finish it within 2 weeks.