Yes, you can handle this but the main issue is keeping the output folder clean. In many MSG files, invoice PDFs, Word files, and Excel sheets sit alongside small logos, signature images and icons.
For this type of document cleanup work, Mailvare free MSG Attachment Extractor is a useful option to test because it saves MSG attachments separately and supports common file types such as PDF, DOC, XLS, ZIP, PNG and others. After extraction, you can sort the saved files by type and keep only invoices or business documents.
Try it first on a few MSG emails that contain both documents and images. The demo version helps you check whether the output is easy to filter before using it on the full folder.