Avast does have anti-spyware built in to the main program.
However, having an anti-spy/malware application will enhance your overall protection as no single application will give 100% protection.
So MBAM or SAS (see my signature) work fine with avast, one of which you could have a a resident anti-malware and one as on-demand. The free versions are on-demand only.