You definitely can. You'd need to expose different functionality you want through web scripts. I think it's possible to decouple UI from backend right now, but it would require some work. Going forward, in 3.0, we are planning to make this much easier - with the web UI being decoupled from the backend repository. Now, the UI is coupled to the backend (although you don't have to use the UI of course, can just use the repository).