Yes, what you describe is that standard way to coordinate a programmable pump and a salt chlorinator with a flow switch, that's common and works fine.