Yes. It can be done. I instantiate a helper class that catches all unhandled exceptions, dumps the data to a file and on the next run prompts the user to e-mail the crash data to me.
I'm sorry, but I cannot provide you any specific code. It is not mine to share. I can tell you that I instantiate the class as a singleton from within my application. Here's at least a hint ...