Yes. While today, the more common meaning of the word is "to introduce immunologically active material (such as an antibody or antigen) into especially in order to treat or prevent a disease", an older but still used meaning is "to introduce a microorganism into".
These definitions were pulled from https://www.merriam-webster.com/dictionary/inoculate