it is possible to deploy APEX Listener onto OC4J. Though yours is quite outdated it should work, but might not be supported any longer. Are you sure you still have support for that scenario?
At least the default Java version for that environment will not meet the requirements (JDK 1.6 Update 20 or higher). I'm not sure all components on your OBIEE will work with a recent JDK properly, nor that it is certified for that JDK. If you don't want to put risks and/or efforts on your OBIEE environment, I'd recommend to setup a JEE container outside of your "embedded" OC4J.