In this case id say it would have been more worthwhile to just side with the poles in entirety from a pragmatic standpoint. The Russians will never accept the continental system in it's entirety, and a restored Poland will probably act as "the France of the east" in terms of maintaining French interests.
I agree but either Austria, Prussia or Russia would have to be onside too because the three of them were hostile to Poland. An alliance could have been made with Austria.