Making friends while travel alone, is not a crime!
If you feel lonely, don’t give up. You can find a guide or a travel companion in any place you are right now. Just make a profile on a special site in advance, and search for a new friend when you need a company. You can find locals who will show you their home city or even will offer you accommodation. There are millions of people registered on such projects and they all feel lonely sometimes. When you achieve mutual sympathy you can start a conversation, discuss anything that is important for you and when you are ready you can meet in any part of the world.