solitude, loneliness, and isolation are very different things. Isolation is physical separation, Solitude is conscious and voluntary self-reflection, and loneliness is the feeling of isolation. The last two can happen even if you have plenty of people around.
Loneliness despite company, especially in urban environments, has been one of the most popular topics in art & culture for like a hundred years for a reason.