Yes, you can do Pallof presses with a cable machine. You need lateral resistance to do the movement, so you can’t use kettlebells, dumbbells, or weight plates.