You don't want this OP. Look up mold under closed bed frames. You will sweat. That sweat will wicker through the mattress, that sweat will get trapped under the mattress, that sweat will then fester and mold.
If you do something similar to this, make sure there are air holes and good airflow in the bookcases.