Sure - it's absolute rock-bottom Freud, for instance - Civilization and Its Discontents is the go-to work here but it's a thread that runs pretty much all the way through his work. We're permanently forked creatures because we're animals with instincts, drives and desires that demand to be satisfied, yet we've constructed groups - societies - and moral codes in those groups that say some shouldn't be satisfied at all or if so, only within a very narrow band of a few certain approved ways. Hence neurosis, or as everybody else calls it, humanity. Rock and a hard place, constantly.