I really don't know how to do this but I have a theory that might send you in the right direction. Ignore this if it makes no sense.
If you set up a shell script that
a unpacks to temp dir
b opens shell in said temp directory.
c have a command that packs it all back up with or without changes to arhieve from said shell.