Very possible, especially with diarrhea. Could be microbial, or helminth. Have your blood checked for eosinophilia. At least your reacting with heavy response. The last thing you want are life-time friends in you.
I would look at doing some anti parasite cleansing just to be safe.
It is easy to get these things now, with the way food stuffs are handled and transported. Toxins from fungi and even some algae are becoming common.
Hopefully all you had was something that passed. Shroom