Answer:
ya we can write the imaginary character's name .
So that we can identify these imaginary people, as we cannot simply write the conversation and leave it .
Or maybe sometimes the reader will get confused as there is no name for the two people .
So, i suggest that you should write the names
Explanation:
You can even ask to your class teacher for further clarification