Interesting feature request, IDK how to describe

So these last few days I’ve spent my time being confused on how to place a text in the middle of a group of objects. I got it solved, but it requires 4 variables, 4 chunks of code with their own conditions, and 1 algorithm thingy line of code. I know how to do it, this is NOT me wondering how to, this is me requesting that there is just a block:
There is already select random object, select all objects, so mine would be:

Select object center.
If you use a number of instances with the same object, it will work and find the middle position between them. BUT, even better, it works with a group of objects. It will dynamically find the middle.

TLDR; block of code that finds the middle of a group of objects, this is already possible but this would make it a lot easier.