Post History
There was a Will Farrell movie about exactly this. https://en.wikipedia.org/wiki/Stranger_than_Fiction_(2006_film) so yes it is possible.
Answer
#3: Attribution notice added
Source: https://writers.stackexchange.com/a/41466 License name: CC BY-SA 3.0 License URL: https://creativecommons.org/licenses/by-sa/3.0/