It’s not an automatic solution but you can add addn’l dirs to your backup tarballs via LuCI. See the Tips section of
Another option would be to just put your customizations into git/GitHub & pull from that after flashing whatever new GL firmware is released. git 2.34.1-1 is in GL’s feeds for OWRT’s 21.02 repos.