Well, the certification matrix (http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-cert-1964670.html#Abrams-SupportInformation-Ap…) tells you
The following table shows application servers supported by JDeveloper and ADF. Application Server support for JDeveloper is provided for connecting and deploying directly to the server as well as debugging. For ADF, it refers to servers that ADF applications can be deployed to.
Application Server JDeveloper ADF Oracle Fusion Middleware (WLS) 10.3.5+, 12.1.2 12.1.2 GlassFish 3.1+ 3.1 (ADF Essentials) WebSphere 8.x JBoss 5 Tomcat 7 Oracle Cloud 13.1
So I say: yes you can.
Use GlassFish 184.108.40.206 Open Source (Community) Edition.
Ups, If you use ADF you should use Glassfish 3.1 with ADF Essentials, So Glassfish 4 is not supported right now, which doesn't mean you can't do it.
What a shame.
I'm in the process of updating some EJB based applications from JEE 6 to JEE7.
Currently, i'm running my EJB based JEE6 applications and my 11.x ADF applications on Glasfish 220.127.116.11 and they run without any problems.
I've moved my EJB based things to GF 4 and didn't encounter any problems i couldn't solve.
But I haven't been able to move my ADF stuff. So my hope was that it would be possible with the new adf v.12.
My - not so good - solution will be to keep my ADF on GF 3.1 and EJB on the new GF 4.
But i'll try the new ADF 12 on GF 4 when i get the time...