It's a simple idea, the rail pressure sensor will output something like 0.5-4.5v with pressure from 0 to about 1800bar, and the MAP sensor will do similar for the Boost pressure between 0 -3 bar (absolute)
If you decrease these sensor voltages, the ECU will adapt and increase the boost and rail pressure.
Almost all diesel tuning boxes just do this, and skew the voltage.
It's not going to be hard to take some more sensor readings and make the amount of "skew" change at different pedal positions or RPMs of the engine.
You might be able to tap into the pedal potentiometers to gain a pedal angle signal, RPM might be harder, but there may be an analogue output, otherwise you'll be able to read these from the CAN bus, or with an OBD2 reader.