Is it possible to put Windows 10 onto an external SSD and boot it through VirtualBox/VMware?
In a word, yes. you can place the VM storage (EG the HD file) anywhere you want it.

Note that both programs have default locations to place the VM files so you will likely have to specify advanced setup and specify the location manually.