Imo, if the only part of cab was flexible was the top arch, making sure the front top of cab cross brace and windshield area is rigid and never came out of vehicle specs. It would be legal.
To be edited with usrcca rules..
I belive there's a 1" height requirement on the cab
▪ 2.1.4 - The vehicle's roof must be raised a minimum of 1” from the main chassis to resemble a cockpit. The frame sides must be an overall minimum of 1” tall (The cockpit & frame side are to be measured vertically from where the hood intersects the cab).
.▪ 2.1.7 - Vehicles body/ bodiless measurements must reach a minimum of (A) width, (B) length, and (C) height. Measurements may include, but not limited to bumpers, stingers, frame-rails, side-rails, skid plates, roof, hood, and side panels.See Illustration B.
A. 3" B. 8" c. 3"
Insure you meet these 2 vehicle specs at all times and you'll be fine.
IMO..
This is the rule that makes me unsure..
3.10 - Changing Vehicle Specs (On Course): The vehicle must run a course entirely with the same wheelbase, track width, ride height, and tires it started that course with. Any changes to the vehicle (other than winching down the suspension or forced articulation) by the driver, another person, or any device, while on the course are prohibited.
with the cab being able to be 1" high minimum, running a flexible cab that could come out of vehicle specs or bust. In return you'll receive dnf on said course, I don't see how a flexible cab is a benefit.