If the artist is alive, absolutely not. And if they are dead, it really depends on context and how awful they were. An artist's beliefs leave their fingerprints all over their art. Also, if they are, say, a TERF, purchasing their art funds their bad behavior, making the consumer complicit in enabling them.