As 3D prints are not a food safe products it is your own responsibility to decide - are the action you undertake correct or not, is it safe or not.
I'm sharing only the idea.
Here are some tips that can make the model more food safe and reduce the contact of flowing water with 3D printed plastic surfaces:
Use those filament which is certified as “Food safe”.
Use stainless steel nozzle during printing, avoid bronze ones that contain lead.
Be sure that all filament canals in your printer are clean from previously used toxic materials.
Apply food safe epoxy resin on all appropriate surfaces to make them smooth (as bacterias likely to form their colonies between printing layers).
Use separate food safe flexible pipe of appropriate diameter from water pump through printed flow pipes (as inner flow pipes are hard to reach for cleaning and the upper rounded part cannot be perfectly printed inside) - see attached schematic picture as example:
Clean regularly all parts with soap and water. And exchange regularly water to keep it fresh all the time.
You will need also water filtration material - same can be ordered together with the pump from Chinese marketplace or local store.
Print all necessary items:
Container
Cover
Upper pipe
Middle pipe (printed in vertical position to increase quality of inner flow pipe and make it without holes, small base was added to model for more adhesion with hotbed - just tear off/cut it after print)
Lower pipe
Filter guide
Filter gratings (4 pcs)
Assemble pipes together:
Assemble filter gratings in one square item:
Slide filter guide into the cover (under, through guide rails):
Assemble all parts together:
Fill up filter grating with your water filtration material/filtration sponge/etc. (don't have one at the moment)
Fill up container with fresh water to appropriate level and close the cover.
Pump was set to minimum force. Water falls on inclined surface which make the process quite and without splashes: