Amazon.com Inc. employees have used data about independent sellers on the company’s platform to develop competing products, a practice at odds with the company’s stated policies.

The online retailing giant has long asserted, including to Congress, that when it makes and sells its own products, it doesn’t use information it collects from the site’s individual third-party sellers—data those sellers view as proprietary.

Yet...