Installing oracle 9i and oracle 10g in one solaris 10 server

Hi All, Is it possible to install oracle 9i and oracle 10g in one solaris 10 server? Thanks Ed