I don't think GP meant "legal" in the literal sense. Regardless, the post's meaning is still the same if you replace "Is this legal?" with "Does this conform to Amazon's ToS?", so please read it charitably and avoid being pedantic about this sort of thing.
Legal matters are all about pedantry.