Not a great idea if you're not feeling particularly strong or confident in yourself. It takes time to fit in to a new job, new home and effort to make new friends. If you're not feeling that great to begin with then doing all of those things can seem much more daunting and can leave you feeling isolated and alone.
As ummmm said - depends why. I recently had to move away after fifty years in one area cos I lost my job and would eventually lose my house. Not happy about that at all BUT I know had I stayed, I would have lost out in other ways. Because I moved far enough away (and was in an expensive region being just outside London) I was at least able to be mortgage free now.
If I had to - My brief if you like was not to lose out on what I'd tried to build over the years, and though in theory I could have stayed where I was, I think my life quality would have been compromised. I'd have gone anyway, but it would have been somewhere else had I been alone.
I have known many people who moved to Alaska without knowing anyone other than they had a job arrangement. They were single and all of them who I have know have made friends like they have always lived here. I have never done such without a mate.I am not sure I would fare as well. I think if I had to do it for a job though I would look to it as an opportunity for adventures and new experiences. I think it would always be nice to have some sort of carry-over such as transferring to a similar club or church affiliations where you could jump in an volunteer. Volunteering seems to be an instant friend maker. Good Luck
I did it thirteen years ago - got a new job here, knew nobody, had nowhere to live. Life is then what you make of it, I have never regretted it one jot.