GoRL: An Algorithm-Agnostic Framework for Online Reinforcement Learning with Generative Policies