Considering he kept either annexing them to France, or merging them into larger units, I'd suggest having someone other than Napoleon be in charge would be a good start...
Really the only one I see surviving is the Batavian republic, or maybe the Helvetic republic. Since they have a tradition of republicanism, they can remain allies.