Sure, but it isn't just legal it's better (in some ways) than most things in the same class. Amazon tracks you and makes you work harder, but compensates you better and doesn't fuck around with hours as much as other jobs in the same fields. It does seem unfair to target them specifically.
For example the piss bottles. It is a thing for truckers and delivery workers to piss in bottles. UPS people, FedEx people, Truckers more than the others will talk about it anonymously. But everyone acts like Amazon isn't acting within the unspoken norms of society.