You wouldn't put those sorts of things in /proc, but that's basically how things work. And since it's a filesystem, you can export your API effortlessly over the network.
Reading your links now.
Edit: Yeah, that's pretty much what I was envisioning. I need to play with plan9 more:-\