Can my boyfriend file case against me on the basis of mental harassment?

Your boyfriend should have some evidence to prove mental harassment otherwise he cannot file any criminal case against you. A hypothesis cannot take the place of reality. Threatening on the basis of such a hypothesis is an offence of criminal intimidation. Thus your boyfriend cannot file a case on mental harassment.