Multiple WordPress sites installs sharing the same database but with different content and domains

Yes You can do it.

You use two different prefixes for both sites in database.