Madpony got me thinking about raccoons as pets. A Google later and we find all sorts of neat references on the subject, starting with this and its many links.
When I was younger a neighbor caught an old male alive, and he was about as mean as they come - getting within about 10 feet of the cage was good for snarls and claws extended through the bars. Apparently raccoons aren't fit company unless they're held a lot when they're little. Or even then -see about domestication issues here. In some jurisdictions having one is against the law.
Maybe a pet raccoon is the last thing you have in mind, and you just want the little varmints to go away. This has some suggestions.