PORTALofPi as Whonix Gateway

Is there a way to replace the Whonix gateway with PORTALofPi?

The reason I am interested in this is because if an adversary is able to infect the workstation and breaks out of the Virtualbox it will expose my real IP. With all the latest exploits (Venom etc.) it seems kinda risky to purely rely on Virtualbox.

I have already read the complete documentation and also the part of physical isolation + stream isolation. However I want the complete computer to be torrified if the adversary managed to break out of the Virtualbox, this way my real IP will not be exposed.

If you use PORTALofPI + Whonix gateway then you will have Tor over Tor which can cause all kinds of problems.

Links with information regarding PORTALofPI:

Is there a way to replace the Whonix gateway with PORTALofPi?
Probably not impossible, but no one documented/did it and it's certainly non-trivial. Not sure how useful that answer is.