In addition to being an adjective, “good” can also be a noun,
good
2 of 3
noun
a: something that is good
b 1. something conforming to the moral order of the universe
2. praiseworthy character : goodness
c: a good element or portion
a: advancement of prosperity or well-being
the good of the community
it's for your own good
b: something useful or beneficial
it's no good trying
a: something that has economic utility or satisfies an economic want
(Merriam-Webster Dictionary)
Note that M-W actually has several more definitions I’ve elected not to include—several more follow on the theme of “good for sale” which is clearly another meaning entirely, and then definition “3 of 3” is the adverbial usage of “good” as a synonym for “well” that the question rejects.
My point is that “good”—in the sense of doing the right thing, improving things, “goodness,” can be used as a noun, which can “properly” be the object of a verb.
The quintessential example of this is “to do good,” as opposed “to do well.” There is nothing grammatically wrong with “to do good,” it just means something different from “to do well.” Doing well means performing to a high standard. Doing good means taking actions that improve things.
(A distinction frequently highlighted, especially by those who might otherwise insist upon “well”—the ending of the final episode of Boy Meets World provides an excellent and heartwarming example.)
This means that “she played good” could be used to mean “she played goodness,” which is certainly odd—I’m not sure, out of context, if it’s supposed to mean that she was faking being good, or if she was playing goodness as a role in a play, and even in context it’d be a weird way to say either of those things. But it’s not a grammatical error, it’s just an awkward and unusual (and often ambiguous) wording.