How to map Discourse Self Hosted to another Domain

Yes. As long as they are different names (community.example.com, www.example.com, and example.com are all different), there is no problem.