I could be if you use container specific implementations.
Theoretically if you follow the standaard there should be no problem between the different EJB containers because they have to comply the standard. If this is practically true I don't know until now I use only JBOSS.