The general consensus of people who’ve tried this is that being in Japan offers no benefit to learning Japanese and can even be a distraction. Unless you can already conduct yourself in Japanese, you will find little benefit. See this link for a few anecdotes.
Posted in: Japan, The Japanese Language