This is not possible with consumer grade IMUs. With a good 3D fusion filter the rate gyro will to some extend correct for errors due to forces other than gravity, but you will still see large effects on those angles, in either situation.
You need to decide what magnitude of errors are acceptable, and that will come only from experimental trials.
The 2-3 degree accuracy you see quoted for consumer grade IMUs is valid only for static measurements.