Yes, this will work.
The DS918+ will handle very well a couple of VMs. If you want more than that then you may want to look into something more professional like DS3617XS with Xeon processor.
Virtualization software might cost you money. Whereas Synology will let you do this for free. You may even find interesting docker, which will let you virtualize certain applications instead of the entire operating system. This saves times and resources.
Find regulary updated NAS offers here
Of course I would prefer you choose AMAZON UK AMAZON USA to buy your perfect solution, however, if you would rather buy locally, please use the links used above to take you to your local Amazon store and help support this free advice service with ad revenue. More ways of supporting the blog are described HERE