Yeah definitely. Scientific publishing is 100% an immoral scam.
Book publishing is different though. Authors get paid. No publisher has a monopoly and there isn't really a reputation system that depends on the publisher.
You could argue that copyright terms are way too long (and I would agree), but I don't think you can justify book piracy nearly as easily as you can justify Sci-hub.