Yes, you basically render the particles as metaballs for that sort of effect. Should be doable in glsl, though I haven't personally done it.
Edit: here's a video showing the technique: http://vimeo.com/4391370
Edit: here's a video showing the technique: http://vimeo.com/4391370