Perhaps, all writers walk such a line. In general - as we all do in our dreams - I believe I put something of myself into all the characters in my novels, male as well as female.
A novel usually takes me two years. A year to research and plan and dream. Then a year to write.
Writing is a strange synthesis between the two parts of your mind: the analytical side and the side that knows nothing at all, and you have to allow the dreaming side free rein.
When an idea comes, spend silent time with it. Remember Keats's idea of Negative Capability and Kipling's advice to "drift, wait, and obey." Along with your gathering of hard data, allow yourself also to dream your idea into being.