Not only would this be illegal - as another commenter noted - if successful you'd a) be killed by the natives, and b) risk decimating the local population with diseases they have no antibodies nor treatment for.
"Attempt"? You'd be in violation of The Andaman and Nicobar Islands Protection of Aboriginal Tribes Act of 1956. "Just doing it" is fine as long as its not outright illegal.