If the files (OS and Open GApps) are the right ones and the downloads not somehow corrupt, this should work.
If it would be me, I would make a backup of my data and then wipe the phone completely to clean up everything before installing again …
When you add the OS file to install in TWRP, you can then also add the Open GApps file to the queue and flash them both in one go.