As you are saying that 2 instances with same sid running on same machine under 2 different Oracle homes is possible (not on windows platform).

How it is possible?