Yes, but not intentionally
Moving just to learn the language is a waste. You can immerse yourself in a language locally and online unless it's almost extinct
Even conversing with yourself / translating your own thoughts to the target language will guide you towards the words and phrases that you need to learn and memorize
And the best memorization is done in a quiet environment usually by yourself
