To dream of earthworms represents feelings about preferring to stay unnoticed. It may also reflect feelings of being annoyed that someone else wants you to stay unnoticed whenever you try to get attention. People or situations that annoying elude your grasp when you get close to them.
To dream that you are an earthworm represents feelings about yourself embarrassing or annoying other people with never giving them attention or going in public. You may be aware of yourself choosing to avoid someone with any excuse possible. You may be especially “earthy” or down to earth at the moment.
Example: A high-school girl dreamed of having her best friend dump earthworms all over her. In real life she was trying to ask a boy to a dance and her friend would always interrupt her whenever she got close to the boy. The earthworms reflected her feelings about being annoyed that she was forced to choose to not get any attention whenever her friend interrupted