We have a software for Windows server that uses SQL backend DB. We would like to extend our offer and have a virtual machine (hyperV, vmware, xenserver) that will include windows server installation, SQL server and our application. Machine needs to be joined to domain and our app will start working. 

My question is: is it possible to license Windows and SQL server and to sell it as a part of our offer?