Depends. I've seen some in favor and some against. Academics who have their papers paywalled by publishing entities against their own wills are generally for it.
It's completely different for a writer who gets their income from sales of their work, obviously