Yes, the Bible talks about the unconscious mind. For example, I John 3:19-21 says:
“(19) And hereby we know that we are of the truth, and shall assure our hearts (unconscious minds) before him. (20) For if our heart (unconscious mind) condemn us, God is greater than our heart (unconscious mind), and knoweth all things. (21) Beloved, if our heart (unconscious mind) condemn us not, then have we confidence toward God.”
Note that the Bible talked about the unconscious mind way before Freud.