Is there a node or combination of nodes that can take an average colour out of a single image?
If you shrink the image to a size smaller than a pixel of the render result it will render as average, so you could just change the mapping of the coordinates:



You can use vector mapping node as well.

That might not be the most efficient way to calculate the average, but it's easy to achieve and it works.