After an in depth study of the history of ideas, it seems that the roots of psychoanalysis have major convergences with liberalism. In fact, Ludwig Von Mises was probably the first liberal economist to have written in glowing terms about psychoanalysis and Freud.
Source