@A1ex Any chance we can try get a log profile in here??
If you can figure out how to change the linear mapping using Canon's image processing modules (since the CPU is way too slow for this), then yes. It's a matter of figuring out how to configure the image processing paths. You'll have to find out what to use for a LUT, gamma correction or any other nonlinear operation.
There is ongoing research on this (see e.g. EDMAC internals, raw_twk, lossless compression/decompression, EekoAddRawPath, ResLock, dm-spy-experiments). Feel free to investigate and share your notes (what you have tried, what was the result and so on).
Some low-hanging fruits to get started: FA_MaxSelectTestImage, FA_SubtractTestImage.
Canon's RAW to JPG processing paths and their creative effects from recent models are probably good choices to look at. Start by getting detailed logs on the
dm-spy-experiments branch.