I am giving this sort of idea serious consideration for a large cabinet that I have. Instead of glass though, I'm thinking plexiglass, so I can drill lots of ventilation holes in it. I believe the best application for this, is groing sideways to maximize the available growing space.
Secondly, when I do mine, I'm gonna do my best to "sandwich" the light between an upper and a lower level of growing plants. All sideways of course. When I get all the details worked out on paper and start construction, I'll start a thread about it.