Hello, friend!
HG8245Q belongs to ONT device. I have confirmed before that ONT device does not support cascading.
The ONT can only be connected to the PON port in the upstream direction. Therefore, your requirements cannot be met.
The upstream transmission mode can be switched to LAN only for special customized products.
Thanks!