That's a pretty broad question, but in general, the answer is yes, as long as ClamAV can recognize the format of the file. That does include many archives, but I believe there are a few that cannot be expanded. There are also some size restrictions on how much of a large file will be scanned due to RAM restrictions.
If you can narrow down your question to some specific file types, we could give you a more accurate answer.
-Al-
Good Day!
I have a question regarding clamav scan,
Does clamav scan embedded virus and malicious inside files ?
Kind regards,