So confused about loading scripts

So if i understand correctly, you can format and organize your dataset however you want, if you can write a script that can load it. I looked at the tutorial, and it explained how to write one for something simple, like JSON. Is it feasible to write one for a dataset in a more complex format, like Python, or a script for a visual novel?