This is possible in principle. You can find instructions on how to connect domains to a game server here: https://zap-hosting.com/guides/docs/en/domain_gameserver_srv_link/