For example:
"She's upstairs," said Tom.
What if spoke is put in the place of said? Meaning:
"She's upstairs," spoke Tom.
I haven't seen anything like that in books or anywhere really, but is that correct, grammar-wise? If said was replaced with thought or wrote, it'd still be correct, but I'm uncertain regarding spoke.
Google ngrams show barely any usage for spoke, and Google itself doesn't show particularly any reliable sources.