I'd say to soak in in a diluted bleach solution for a while, let it dry and then bake it for a long time and I don't see why it would be bad. Just dont' use the woods that are said to be irritating to snakes. The bleach and baking will get rid of any kind of contaminants or bugs, so that won't be an issue, it'll just be a matter of if the wood itself is safe.