No. This is because electromagnets can only attracts magnetic materials. Plastic bag is a non-magnetic material and will not be attracted by an electromagnet.