It is possible to customize the DDPG training loop without using the built-in DDPG agent from the Reinforcement Learning Toolbox.
For detailed guidance and code examples, you can refer to the official MathWorks documentation on training reinforcement learning policies using a custom training loop: https://www.mathworks.com/help/reinforcement-learning/ug/train-reinforcement-learning-policy-using-custom-training.html
