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.
You likely could eventually. All current projections point that way.
Poland already has a significant advantage with respect to intermittency being connected to an EU wide grid and being able to import/export power easily across a well oiled market. Hawaii may have sun but it can't do that.
The intransigence of the country itself (it loves its coal) is probably the biggest impediment, not Geography. If Germany can do it (and they can and do) so can Poland.