It's possible with autoit and its color matching feature (PixelSearch), not really big deal I believe,
but even better would be if it was part of real standalone software such as dankbot or consolite.
ask either of those guys for help more info about it.
It would require some advanced skills.
@dank
@dewdew
@maddoggy00
@meta