Not sure, but I'm researching it. I know it's been done before.
I really don't see a way on how that is going to work out unless you can find a way to have the inflow and outflow at the same rate in both tanks.
One way I know can work with 1 filter and 2 different tank is a wet dry filter. 1 sump and 2 inflow box. You can even have flow rate for different tank since you will have two pumps.