In our bedroom we built a small cabinet for jewelry (in the top) and dirty laundry (on the bottom.
There is a hatch that appears to be a laundry chute.
In fact we just did not install a shelf between the top and the bottom hatch.
We used a drawer in the bottom so you can simply slide out the dirty laundry when it is full.
You can do this in any closet, cabinet or shelf as long as you get a drawer and two drawer fronts that match the width of the carcass.
The tricky part was to find these hinges in the hardware store. My advice: Save this photo and show it to a salesperson.