Auto feed a model in fine-tuning

Is there any way to make the model self-trained?
I have a database that contains data from a customer service chat. Based on this customer service chat, to train a model in fine-tuning, I need to create a formatted jsonl file containing the prompt and completion for each question and answer and then tune this jsonl file for training and tuning.

Is there any way for the AI itself to train itself using a database?