Ofc you can, all you have to do is to open the SQL Ports of your Game Server to your Web Server IP's only, and then , with your Web server, you'll only have to configure your MSSQL/ODBC/SQLSRV scripts with your Game Server IP. This way is more secure than having wamp in the same server as your game server. (You can do this with the windows firewall)
Sorry, I have french version of windows