I was wondering as I stated in the question title in which case is $$\int_a^b f(x) dx \simeq f\left(\frac{a+b}{2}\right) (b-a) $$ a good approximation.
As I can see it depends on the $f(x)$ and also on the integration interval chosen, and I doubt that there is a general rule about it, but there are particular cases (e.g the function is a well known function as the gaussian, there are particular symmetries etc.) in which the approximation is good ? (with good I intend that we can estimate the error commited). And also, there is a rule of thumb in which one can use this approximation not commiting such big error ?
The answer is rather simple: when the average value of $f(x)$ in the interval is close to $f(\frac{a+b}{2})$
$$\bar{f}(x) \Big | _a^b=\frac1{b-a}\int_a^b f(x) dx \simeq f\left(\frac{a+b}{2}\right)$$
Regarding the symmetry, the integrating behavior to the left and to the right of the central point are canceling up to the median value. Other than that it is difficult to say anything else.