How about: traverse the entire crankshaft fore or aft slightly along the crank axis, causing all six of the connecting rods big ends to fall away or toward the cylinder centers. +/- Xmm to achieve center when the engine is running to get the extra travel at TDC. Design the crank throw journals and/or bearings with crown such that they are spherical. Might get away with using a typical cylindrical wrist pin and live with the piston itself being angled slightly within the bore during the test. At rest (incl when turned slowly for test), the conrods would be slightly angled, when running the conrods are straight with the big ends aligned with the cylinder centers.
I guess this could be achieved with TE; a static plastic disc pushing on a thrust bearing that contacts the crankshaft f.e. Or by oil pressure or some other means. At operating speeds would centrifugal forces be sufficient to take over and assure alignment? Or would the device always be receiving thrust/axial loads from the conrods trying to push off-axis. In which case how bad would frictional losses to thrust bearings be.
Edit: while this could alter piston stroke sufficiently at rest during a it would require significant displacement of the crankshaft, over 5mm axially to alter the piston TDC locations by ~0.4mm. Conrods would be tilted about 5* off center so spherical journals would be be need on both ends of the conrod which conflicts with the wrist pin needing to be 18-19 mm in diameter i.e. a sphere section fitted to that would be too narrow. It also may conflict with the engine cubic capacity which must be 1600cc +0/-10.
In general it may be good to keep that 10cc tolerance in mind. We have been talking about a 2cc/cylinder alteration of the TDC CC volume, which would be 12cc across 6 cylinders. This has implications for the true amount of compression ratio change available and for what the actual total cubic displacement of the engine would be. I doubt the FIA inspects the cubic capacity of the finished engines but if CAD shows it would be outside of that tolerance window then it would be a non-starter.
------------
Sidenote: the previous 18:1 CR was not inspected for (afaict). This new one will be and there are only so many ways to do that. I’m assuming it is an optical or contact measurement of the piston face performed through the spark plug hole, or with the cylinder heads removed. Obviously running temperatures would not be convenient to achieve in that scenario, short of heating the engine in an oven, removing it, and performing all of the measurements within a certain amount of time as it cools down. Why is a CAD inspection not sufficient? Presumably that is what was done over preceding decade. Why does the FIA now want to measure this instead of infer it?

