Yes worms can come out of your feet.
Although it seems gross and it is gross some people do get infected with some worms which are certain type of worms or parasites which can enter the feet and other parts of the skin and can come out of your feet.
It's rare that people do get infected with the type of worms that come out of your feet and other parts of skin but yes it's possible.
My mother had that issue and didn't even know she was infected with the worms in her feet until she got into the shower and noticed that worms were coming out of her feet.
She went to the hospital and they had to remove the worms through surgery and then treated her.
I've never had the issue myself but it can happen.
The worms that come through your feet are known as Strongyloides.
The condition or a disease is a parasitic disease caused by nematodes, or roundworms, in the genus Strongyloides.
Most people who are infected with Strongyloides do not know they are infected and have no symptoms.
Or you might notice a worm through your skin in a red mark.
If you think your feet or other parts of your skin are infected with worms or other parasites see a doctor about it.