It is possible, just nobody would want to do it, it's way too complicated, even if you selected the area, it would still have to somehow know the shape, which is usually defined by lighting, I mean you would spend more time coding then it would save time from users and for such complicated codes it would take 1 min. (rough estimating) to run.