You should avoid this. Yes, Jane Austen and Shakespeare did it. That doesn't mean that you have to. Linguistic fact should not determine stylistic preference. We all know that language changes, and we all know that usage determines what is correct- in the long run. We all also know that Chaucer used the double negative, but we're not about to all start doing none of that. (Anyhow, you're opening up a huge can of worms if you are to begin citing Middle English verse as proper precedent for modern English prose.) There is certainly precedent for using "they" as the third person singular of indeterminate gender. There is even more precedent for using "he". When "they" is used, it is generally used to refer to people in the abstract. It is very easy to avoid this. Almost no one uses it as a generic third person singular in all cases. How does this dialogue sound to you?
"I went to the doctor today."
"What did they say?"
If you insist that "they" is okay for the third person singular, why does this sound so bad? If I were asking the question of a female, I would default to "What did she say?" This way, I can maintain my precious grammar without fear of being thought sexist.
I suggest avoiding the issue entirely by using the plural when you can.
"Everyone is entitled to their own opinion." becomes "We're all entitled to our own opinions." or "All people are entitled to their own opinions."
Language is about communication. In our language, the distinction between the singular and plural is an important one. Let's not lose it. A written language requires some degree of uniformity. The default today in almost every publication and scholarly journal is to not use "they" as the third person singular. Respect that. Spoken language and written language are different beasts with different purposes.
The only thing worse than a pedant who insists that everyone follows the rules, is the pedant who insists that there are none.