What you’re describing is essentially a half-kneeling trunk mobility/control drill:
Get into half-kneeling
One knee down, opposite foot forward.
Keep the front foot planted and the front knee tracking over the foot.
Maintain a tall, stacked trunk rather than arching the low back.
Raise both arms overhead
Reach both arms straight toward the ceiling.
Think “ribs down, head tall” rather than leaning backward.
Move the upper body side-to-side
Slowly shift/lean the trunk toward the side of the down knee, then toward the side of the front leg.
Keep the pelvis relatively controlled while the thoracic spine and trunk move.
Return through the center each time.
The important part isn't simply getting a big side bend. It is creating mobility while maintaining control.
The half-kneeling position reduces the contribution from the legs and challenges the body to organize:
Foot → ankle → hip → pelvis → trunk → rib cage → shoulders
With the arms overhead, you also have to coordinate shoulder flexion, thoracic extension/rotation, breathing, and trunk stability.
You would typically be asking for coordinated activity from:
Obliques — control the rib cage and lateral trunk movement
Quadratus lumborum — helps control lateral trunk position
Gluteus maximus/medius — stabilize the pelvis
Deep abdominal musculature — helps maintain trunk control
Thoracic spinal muscles — control the upper-body movement
Serratus anterior and lower trapezius — help control the shoulder blades overhead
Hip flexors of the down-leg side — are placed in a lengthened position
Adductors and lateral hip muscles — contribute to pelvic control
A very FMS-like way to think about it is:
Don't chase the side bend. Chase the ability to keep the pelvis and rib cage organized while the upper body moves.
That makes it particularly interesting as a trunk → hip → shoulder integration drill, rather than simply a stretching exercise.