Can a VirtualBox Windows 7 virtual machine be installed on a USB hard disk?

Yes, it's possible.

First you need to create the virtual machine, after you completed the wizard don't start the VM but go to the menu Machine -> Show in Finder

Copy the 3 files (VM Name.vbox, VM Name.vbox-prev, VM Name.vdi) to your external hard disk.

After select the VM inside virtualbox and go to menu Machine -> Remove... and click the button Delete all files

After go to menu Machine -> Add.. and select the VM file you copied before.

Now the VM is inside virtualbox and runs from your external hard disk.