Almost, as I said, it can't be with a related entity which is exactly what that example was; planned, coordinated to avoid tax.
Buying and selling on market outside of other entities is not a wash, exceptionally unlikely to ever be treated as such.
I think somehow that point is being missed.