Yes, if the pests include mites, ladybugs, and millipedes, vacuuming can help. Large roaches may also get killed. But vacuuming alone is not enough to eradicate their infestation. You may need to use a few chemical methods, depending on the pest.