Can we place two different UA analytics code in one Website
Yes. The easiest way is with GTM and only requires you to deploy two tags. If you are doing it inline without GTM, then you will need to customize the second tracker and name it.
More on the customization here: