Possible,unless russian navy do not conqer it.They had relatively good navy in those times.
Or,after 1871,german navy.
But,if it not happen - Poland goverment in exile would be there after 1945.
Which could help Poland,which in OTL was still partially ruled by commies after 1990.