OpenGL ES using only a FBO without a window binding

Can I create a OpenGL ES app that would not use a window, but would only render to an FBO, which would then be saved to the disk? If so, any ideas as to how? That is what should I initialize and is there anything I may skip because I would be needing only an FBO.

Thanks!