“that could take a very small portion of the crude being pumped to generate power? Then pump the unused portion back into the pipeline.’
That is also how the energy-intensive process of steamflooding initiated, by burning a part of the crude that was pumped to generate steam to pump downhole. I recall in the early days of Duri field Caltex was burning 60,000 bopd that way.
Another point to be made is that there exists a high incentive to use gas produced from other wells on the lease because it is exempt from royalty. If it was otherwise flared, it is considered free fuel to the rig.
Diesel costs on a typical drilling rig are several thousands of dollars per day. That’s a lot of savings on a well cost if one uses natural gas. Rigs in North Dakota designed to burn gas instead of diesel are now much more common.
In my opinion (as a hopeful lease holder) that is wrong. If the gas is not produced and not returned to the reservoir for maintaining pressure, royalties should be paid to the mineral owners. Alaska made this change years ago and cut down on the uneconomic flaring.