It's fine. Here's just one example. It's from a writing guide. (Note that, the author uses this example to explain quotation marks.)
In the novel, Mother Tongue, the main character, María, points out the biased nature of our media: “Because your skin is brown, what you say will be followed by words like Romero claimed. Whereas if you were white, it would read Romero said” (Martínez, 33).



