No it can't. Advancements only work with players. The report mentions @e. The missing functionality of this predicate is a bug - the predicate was not implemented as intended, causing it to fail in the 99% of cases where it was originally going to be used. It's only by design insofar as the design was cut by 99%, and the remaining 1% of usability was left.
On a separate note, even the most egregious technical bugs and shortcomings never get fixed so long as they don't affect vanilla gameplay, so you let go of any hope this will ever work as intended and wait for a workaround.
I think your video refutes the bug. This appears to be a sodium bug, not Minecraft. Kindly delete it
Confirmed in 1.19
Reopen - confirming for 1.19
Has this been resolved for all entities? I’m fairly sure this bug falls within MC-154790 and doesn’t apply only to armor stands.
Affects 1.14.4.
Thanks for clarifying, I couldn't find it.
It’s been years since I bumped this report and looked into this issue, and “others” you refer to is what I meant by 99% of its usability. If you Google this predicate all that comes up is people asking why it doesn’t work.
Again, it’s been years since I looked into it and can’t be bother to pull it up because nothing will have this bug fixed. Team collision rules have been reversed since introduction, there’s a code correction on the report page, and no one cares enough to fix it. The tech team doesn’t give a damn about bugs.
On second thought having this be a feature request has a higher chance of it making it into the game than a bug fix.