Writing is alone, but I don't think it's lonely. Ask any writer if they feel lonely when they're writing their book, and I think they'll say no.