The virtual HD, as a file will get defragged. But, that will not actually defrag the interior file structure of that file. So yes, there is a limited value of installing a defrag program into the virtual OS.
That being said, unless the fragmentation is really bad, I've not found that...