You can install the tracking script on multiple domains, but the data will be mixed within the same dashboards and analytics reports.
P.S. Only install the tracking script on relevant subdomains/domains that are 100% relevant. For example, sometimes your blog is hosted on blog.company.com and your main website is company.com. In this case, it’s fine to install the script on both domains.