Your family history plays a vital role in developing any kind of condition that is not the only factor when it comes to mental illness. One can develop mental conditions depending on the environment and psychological factors. So, anyone can develop a mental health condition.