Yes, but I cannot answer for joining the output from the panel to the return prior to the pool. I don't know if that will actually work or create a stasis in the panel so the water doesn't move. A plumber or expert on that can tell you.

My system and preference is to have a separate return for the heated water, separate from the main return. That always works and is simple.