Yes. Performing a factory reset removes all the apps and files installed on your device, including all the hidden apps. However, there are instances where after a factory reset, restoring the backup apps and files reinstalls the hidden app, So, make sure that you exclude apps from your backups.