The sane and reasonable thing to do with corporate taxes is...... to eliminate them, but tax the "profits" when they leave the company in the form of dividends or capital gains
Actually that is the insane thing to do, unless you think driving capital and talent outside of your country is sane.
What you advocate would make the shell games played now by companies to move taxable income from one jurisdiction to another even worse as well as encourage high investment income people to change where they pay their taxes to places with lower dividend or capital gains tax rates.
Taxes need to be mainly or even entirely based on sales of goods and services, wages, and physical property precisely because such taxes generally cannot be avoided by shifting net income from one jurisdiction to another via accounting gimmicks.