Looks like it should work. The only issue is that quite a few worms end up in the sump, so put some sort of screened container in the drain path to catch them.