Objectively no.
But it’s hard for some of us not to reflect on these things when you come back to trying to enjoy an artist’s work.
I imagine Cat Power wasn’t an anti-vaxer when she made You Are Free but it still has an effect on my listening to it now.
To dismiss this isn’t really fair.