No, it is not true, just a common myth.
In the seller documentation they say they can track the source of commingled inventory - they achieve this by never putting them on the same physical shelf location.
Also mentioned by Amazon spokesman in e.g. this article: https://archive.is/ra6RT
> Amazon can also track the original seller of each unit