Among animals that look like beavers, the best choice for attempting to keep as a pet is the capybara. I've also seen people keep American Minks as pets and use them to get rid of rats.