You would need to build the reverse transform as a series of LUTs — probably at least a 1D + a 3D, so you made a modified ACES config where the from ref and to ref for Output sRGB were not exact inverses of one another.
The approach is discussed a bit on page 39 of the original Cinematic Color paper.