Yes, if the filter is not sealed aka gravity feed. It ensures that more water can get out than can get in. Because water coming in through a pipe under pressure will have a greater flow than the same size pipe draining by gravity. If the filter is sealed aka pressurized it doesn't matter, and...
I'd use a sealed container because as the filter clogs it can overflow. If you can't use a sealed container, the output must be above water line, and your input must be smaller than your output, or have a ball valve inline to restrict the flow.
This will pump up to 1/4" solids and the cage keeps the rest out. It doesn't clog. I have the 2700 gph version on my 1800 gallon pond. Don't know what your budget is, but there are plenty of pond pumps that work well and don't clog. You can also use a mesh pump bag but I've found them to be...