That balance between involvement and detachment is what novelists do. It's the ideal relationship between a novelist and a character, I think, total involvement and identity and empathy, stopping short of being autobiographical - in my case, anyway - but also quite detached.