Sort of. Poland has traditionally relied heavily on coal. Now for a variety of economic, ecological and political reasons, there are no new coal plants being installed, and old ones reaching EOL. There is no nuclear, despite half-hearted attempts to bring that about. Gas has mostly been imported from Russia, with constant concerns about continued supplies being used as a political tool, so no significant gas plants either.
So yes, once you factor out all other options, solar and wind is the only thing that you can make progress on. But that's a far cry from saying you could run the country on them.