Compatibility between Particle Photon and Arduino Is it possible to run Arduino on a Particle Photon?

I want complete software control over the device so I can connect it to the internet and do stuff without going through Particle's cloud, logins, etc.
You can use the new particle dev platform to do this https://www.particle.io/dev