Default Is there any kind of app that can save all partitions into a zip file

Recently, I often switch between different Roms. The Rom that I am really using is the official Rom from google, all others are just for testing. I am wondering if there is a app that I can install on my phone to save all my partition(boot/system/cache/data) into a zip file that I will be able to flash though recovery. If this kind of app does exist I will save a lot of time which was wasted on installing apps and rooting device. Could someone help me please?