It'd work fine if you just ionize everything; easy to separate then. Just hilariously inefficient given the amount of energy required.