applications – How to maintain the data of the system application? (ROOT)

It seems that I can not find any answer anywhere, is it possible to keep the data of the system application?

I mean, for example, my phone is rooted and I choose to move the Tasker application as a system application and I want all the profiles / tasks / scene / settings to remain on my phone even after I reset the factory data. Is that possible? Is it possible to keep the data in the application?