Given that the language is different, you'd probably need a custom background listener and its own parser (and youd probably want to listen on a different port), but yes.
Someone already wrote a custom background listener that pretends to be mongodb, so I guess PostgreSQL is web-scale now ;-)