Poland is importing gas from the USA and Qatar via SWINOUJSCIE
Yep, they are pretty much safe. If they don’t like the Russian pipeline they can live without it. And pipeline might very well live without them too.
If they think the gas they import has competitive advantage they are free to try exporting it to the rest of Europe too. It is only fair. Nobody is sanctioning them over it nor make any other obstacles to it.