Heb 5:9 "And being made perfect, he became the author of eternal salvation unto all them that obey him;"Absolutely. He also said this:
Christ will save those that obey His words else the bible is lying to us. Doing nothing, that is, not obeying Christ will never gain one a saving realtionship with Christ where they can call Him their Lord.
Matthew 11:28 Come to Me, all who are weary and heavy-laden, and I will give you rest.
Not come to words on a page or a doctrine or anything OTHER than Himself.
And that fits perfectly with what he said here:
Matt 7.21 “Not everyone who says to Me, ‘Lord, Lord,’ will enter the kingdom of heaven, but he who does the will of My Father who is in heaven will enter.
22 Many will say to Me on that day, ‘Lord, Lord, did we not prophesy in Your name, and in Your name cast out demons, and in Your name perform many [n]miracles?’
23 And then I will declare to them, ‘I never knew you; DEPART FROM ME, YOU WHO PRACTICE LAWLESSNESS.’ "
They believed and even claimed miracles in HIS name (and he is NOT denying that statement) but His beef is they "never knew" him. They clearly knew ABOUT him. But did not know HIM PERSONALLY.
Mt 11:28 "Come unto me, all [ye] that labour and are heavy laden, and I will give you rest."
Mt 11:29 " Take my yoke upon you, and learn of me; for I am meek and lowly in heart: and ye shall find rest unto your souls."
Coming to Christ includes taking His yoke and learning of Him then they shall find rest unto their souls.
THose who take His yoke upon themselves do so by learning of Him. One can learn the things Christ has said.
THose who do as Christ has said, that is, those who believe, repent, confess and are baptized, Jn 3:16; Lk 13:3,6, Mt 10:32,33; Mk 16;16 are taking His yoke upon them. THis text does not negate Heb 5:9.
Mt 7:21 says "Not every one that saith unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that doeth the will of my Father which is in heaven."
Again, doing God's will is a condition that must be met to enter the kingdom of heaven this fits perfectly with Heb 5:9. THose in v22 were not doing those things according to the Father's will, without CHrist's authority.