A glass roof will cause high temperatures and most likely reduce the design life of the box, so I find it unlikely that VM would permit this installation. As an alternative consider a long HDMI cable.
--
Hub 3.0, TP-Link Archer C8, TP-Link TL-SG108S 8-port gigabit switch, V6