Why do you think so?
Could keep you alive long enough but eventually you'd want some other nutrients.
You generally need animal products for B12, but you can use supplements, I think. B12 deficiency can take a year or more to manifest severe symptoms.