Hi Deken, here's a great video that will show you how - https://www.youtube.com/watch?v=lUafWMJZ83w
Floating shelves can 'double' as nightstands.
They are available in different sizes, colors, and shapes.
Here's how we built an inexpensive floating vanity. It would actually be easier to make a nightstand (no plumbing). Just add some sides.
check this out: https://www.hometalk.com/29894209/live-edge-floating-shelf-with-invisible-hardware
Buy or make a small floating shelf hung on a french cleat. Ikea, Walmart, Lowes, Home Depot have them. YouTube has videos on how to make a floating shelf.