If you try to flash any custom partition, your device can bricks or gets in bootloop. This patch with disabled verity and disabled verification avoid it and need to be flashed once only. Once flashed, you don't need to flash vbmeta again.
I'm not sure, my friend.
I just checked your script and my little knowledge, I could confirm that it would really work.
But I did not done that yet.
I prefer to keep the system intact and untouchable.
This saves my time in the backups and storage space.
Thank you very much for your great contribution.