VirtualBox does support DMG files. As you can see in my screenshot, when browsing from the VirtualBox medium finder, Explorer lists DMG in the "supported file types" section.
The supported file-types section gets its' information from the Windows file associations that are set when you install a program. During the installation, the program will declare which file types it supports. In this case we can see the VirtualBox has declared support for DMG format.