Yes you can as long as they are in different partitions. I have tried installing Linux while I still have Windows98 as my primary OS. It will also depend on your boot manager. But with Solaris, it will always be the primary.

Here's how you can install different OS in just one disk. Click the guide