The feds could pass a law refusing to seat any Senator or Representative elected in a state that recognizes ballot harvesting.
At this point, given the current composition of the House, that would probably not be doable, but if the GOP ever gets control of all Congress again, it would in theory be doable.