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.
1. https://developer.mozilla.org/en-US/docs/Web/API/Intersectio...