You could even apply it to the mask resulting from the select. Mathematical morphology, advection using several pictures, interpolation, there are many use case that would be possible with a single query.
But maybe I'm too optimistic with the current possibilities.
Promising project anyway.