Hello.Is it possible to add inventory slots to an item like the bed, or other item that normally has no inventory?

And if so, the possibility of opening the inventory and using it ?

EDIT : Maybe the place of this question should be in plugin request ?
I create a new thread in plugin request.