Anything is possible, all depends on how much money you want to throw at the project. Check valves are a quick and cheap way to go, but depending on how far the pipework runs and the level differences, you may end up with a fair amount of water from the lines draining back to your sump or tank...