I've done it three times. The first two (between a hundred and a hundred and fifty miles each time), I moved with the company I was working for - the second time was a completely new job within the company. The first time I did know people in the area, but not the second, and I moved a long way from my family. On both occasions I made friends, partly through work and partly through outside interests. About twenty years after the second move, nearly five years ago, I moved to Germany to be with a man I met while he was working in England. Things are going very pear-shaped there at the moment, so don't ask me to comment on that aspect!! However, through my interests again, I have made friends and have a good social circle. Despite being not in the first flush of youth and having to learn a new language, which is a bit of a struggle. I'm not sure if the third move would have been so easy without the internet, mobile phones and the general ease of communications nowadays.
I would say that if you do have interests that bring you into contact with other people, and if you can find a suitable job and (most important) are not too shy and retiring, then go for it if you feel it's what you really want.