This idea is really interesting and I've spent some time thinking about it as well. There are obviously some substantial regulatory and financial barriers to creating collaborative, dorm-style live/work spaces, but it seems like there is definitely a need for more affordable housing solutions in the valley.
gtbcb and anyone ese interested in real estate - shoot me an email (it's in my profile). I'd love to chat further.