That would work. Novelists often base their work on real characters, but change the character's name.