Mark:
But of course.
You'll want to check out our source from SVN. You can find instructions for how to do that on our wiki.
In the source, you'll want to look at /ROOT/projects/web-client/source/java/org/alfresco/web/bean/WebProject.java
Also, in the same directory, SandboxFactory.java
This will introduce you to how we create various stores and layer those stores to create a web project and its associated sandboxes in the AVM, as well as associate them different configured web forms.
Let us know if that works for you. Also, might be interesting for you to give us an overview of what you are doing; we'd love to take any learnings away for future releases.
Kevin