I tried this out and it works, but it felt like cheating. The algae production counts towards o2 balance, but that doesn't make sense if their water is sectioned off.
Yeah it's like cheating, and I cheat myself by thinking O2 can exchange through sand :D