No, for exactly the same reasons as other scans, avast doesn’t know the password and even if it did there is no process for using it to unpack.

Only when the file is unpacked by the program that set the password can avast scan the contents of the archive (as they are unpacked to the hard disk).