The Poles have been extracting actual cash out of Gazprom, lots of it, taking advantage of its weakness a few years back when it was literally the back against the wall. In the long run, we're all dead. John Maynard Keynes
In any case I really don't think that that is the main concern of the Poles. Any such cooperation between Germany and Russia bypassing Poland is going to make Poles rather upset - two centuries of history and on the Russian side, though not the German one, a disturbing understanding of that history.