No. When your scripts are executing, they block all progress. So, until you are done reading the file, then creating all of the objects, no screen redraws are occurring.
Thus, assuming you have FPS set to 30 (in config.lua), and if you are doing more work than can be accomplished in 33 milliseconds, you will see ‘hangs’ and stuttering.
Also, an image drawn in the current frame is not displayed till the next frame. As well an object deleted this frame remains on-screen till the next frame.
There is an ongoing discussion here that bears on your problem:
https://forums.solar2d.com/t/how-to-make-loading-data-smoother-not-creating-bottleneck/
Be sure to download the project I link in the thread above and then run it. You’ll see similar behavior/blocking and a solution.
You need to break up the creation/destruction into a set of smaller steps and allow the frame to progress.