Sure, but did cobras that spit venom exist before us stick throwing primates? Apparently not really. Spitting cobras seem to emerge in Africa when the hominin lineage emerged ~ 7 million years ago and in Asia around the same time H. Erectus moved into Asia ~2.5 million years ago
It’s not really very evidence-based from what I remember. Freuds ideas rested on a lot of untested assumptions about the way human psychology works