If you spend a lot of time at a desk when you're at work putting one under the desk would make your gun easier to reach and sitting more comfortable without your gun on your side.
I like that idea, but the parent company of my franchise forbids weapons of any kind. Clients are allowed to carry, just not employees....
I was thinking of using it like you did, for my nightstand with my EDC. I've never liked the idea of my pistol just sitting on top of the stand in open view just in case I slept through a home intruder - not really likely with the dogs sleeping downstairs, but still makes me nervous.
Home defense gun lives in a quick access safe near the nightstand since it lives there full time.