by Aaron Harker.
In theory, yes it can be done. If you take a look at your documentation in the Moodle site - site administration > server> web services > API documentation. That should give you a place to start.