Yes, obedience IS... definitely a condition to receive Christ's Salvation. The opposite of obedience shown in God's Word is called 'falling away'.
Heb 6:4-8
4 For it is impossible for those who were once enlightened, and have tasted of the heavenly gift, and were made partakers of the Holy Ghost,
5 And have tasted the good word of God, and the powers of the world to come,
6 If they shall fall away, to renew them again unto repentance; seeing they crucify to themselves the Son of God afresh, and put Him to an open shame.
7 For the earth which drinketh in the rain that cometh oft upon it, and bringeth forth herbs meet for them by whom it is dressed, receiveth blessing from God:
8 But that which beareth thorns and briers is rejected, and is nigh unto cursing; whose end is to be burned.
KJV
So fall away from Christ to bear metaphorical thorns and briers, unto cursing, and your end will be to be burned.
This is why our Lord Jesus through Apostle John told us to repent to Him when we mess up with future sin. And we will have future sins, because none of us can be literally perfect in this flesh, for all have been concluded under sin by The Scriptures so that Salvation would be to those who believe (Galatians 3:22).