If you got instructions related to your poor hygiene, and you disregarded them. Also, pretend that your hygiene isn’t affecting any medical conditions. Then yes, your employer can terminate you for not following the instructions.