Yes, Charles Yu names his main character after himself. That main character, in fact, is both time-machine repairman and author of a book called 'How to Live Safely in a Science Fictional Universe.'
Weinman, Sarah. "Charles Yu's 'How to Live Safely in a Science Fictional Universe'." Los Angeles Times, 5 Sep. 2010.
Sourced by: Quote.org sourced