No, it’s not illegal, but solo female travelers should take extra precautions like dressing conservatively and sticking to populated areas.