Let's say I wrote the following in an essay.
Hello, Anna. I love you
Now I want to write something like this: This line I've written was supposedly said by Anna's boyfriend, but Anna's boyfriend didn't actually say it himself. It's a creative work of mine pretending to be Anna's boyfriend.
Note that this question is tagged with "sentence-construction" because I also want to know how I could state this in one neat sentence.