That's called "viewability" and isn't related to relevance. It's already solved natively with the IntersectionObserver API which came out years ago and supports more than just an image. [1]
Lazy loading is entirely different and offers nothing new or useful for ads.
As the first reply in this chain remarks: this is not available without Javascript.
The point is that native lazy-loading is not useful for ad tracking. If there's JS then there are other methods to check viewability. If there's no JS then there are no ads at all.