Not exactly, JM. Only those who depart from iniquity and actually do the sayings of Christ will enter the kingdom of heaven. The rock in this is the sayings of Christ... you remember, "love one another, forgive as you have been forgiven, turn the other cheek, depart from iniquity, repent of your sins, etc." Read Matthew 5-7.
Matthew 7 21Not every one that says unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that does the will of my Father which is in heaven.
22Many will say to me in that day, Lord, Lord, have we not prophesied in your name? and in your name have cast out devils? and in your name done many wonderful works?
23And then will I profess unto them, I never knew you: depart from me, you that work iniquity.
24Therefore whosoever hears these sayings of mine, and does them, I will liken him unto a wise man, which built his house upon a rock:
25And the rain descended, and the floods came, and the winds blew, and beat upon that house; and it fell not: for it was founded upon a rock.
26And every one that hears these sayings of mine, and does them not, shall be likened unto a foolish man, which built his house upon the sand:
27And the rain descended, and the floods came, and the winds blew, and beat upon that house; and it fell: and great was the fall of it.