Undrestanding nature of psychological defense system by artificial intelligence

do you think psychological defense system for example :  repression, regression, reaction formation, isolation, undoing, projection, introjection, sublimation and … Could be created and better undrestanding its nature by artificial intelligence systems? If yes, what tools do we/i need? I think supervisor-like algorithms such as PSO or ANN are better suited for these levels? that doesn’t seem to be that easy, and…