Question: can you use haha in dialogue?
Answer: Dialogue quotes are for things a character actually says. If your character says "hahaha" then fine. ... If you want to tell your readers that your character laughed then, yeah, you need to just say so. If the laughing comes during the dialogue, you can use a laughing tag.