I have been wondering about this very thing, as I am contemplating a Golden Stout w/coffee.
I recently ran across an article on cold-brewing coffee at home. The result, the author said, was very smooth, without the bitterness and acidity associated with heat-brewed coffee. This got my attention, as what I would want is just a hint of coffee flavor, and I don't want any bitterness except from the hops, thankyaverymuch.
A very coarse grind was recommended, with, of course, some way of separating the extracted coffee from the beans, à la French Press. I have an OXO conical burr coffee mill, so I could do that easily, otherwise putting 'em in a bag and using a rolling pin as above is prolly just as good.
But the cold brew idea definitely got me thinking about using a dry-hop approach, in which I'd put the coarsely ground beans in a hop bag and steep in the secondary for 12-24 hours (the time recommended in the article for cold-brewing coffee) right before bottling.
I guess the only consideration would be, do I worry about infection? Thoughts, brüwizards?