absolutely !!!! This what XAMPP is build for !
You need to configure virtual hosts in apache\conf\httpd.conf
If you don't know how to setup a virtual host, check out on this forum, there is plenty of examples how to setup virtual host
also be sure your provider let you hosting on port 80
If not, you will need to setup a new port at the line "listen 80" in httpd.conf
(see one of the website I've done on my server : http://www.danybouchard.com
(if you pass your cursor on a link you will see that the real adress is http://www2.danybouchard.com:8080
Also check your security configs on Xampp start page : when you put a website online, you need to be most secure possible because some idiots take pleasure to put servers down...
You will need to setup some lines for \apache\bin\php.ini for sendmail function and some others details such as desactivating global variables and mabye php in safe mode for some securty reason, but those could cause problems if you are a bad programmer (don't ask me anithing else about programming this is not my domain !)