There are commercial overflow boxes, that use siphons, of you can build your own PVC overflow. Here is an example of one of the boxes

The photo above is the skimmer box hanging inside the tank,
below an overview with the overflow box hanging outside the tank and has plumbing leading to the sump

the siphon below