Breastfed babies

My 6 month old is ebf I put him to sleep in his crib every night but he is always waking up to sleep next to me or to just be on the book for a few secs and his out..I get so tired I fall off to sleep with him...will this stop is it OK that he wants to be next to me every night..will he get out of this habit??I try so hard cos I want him to sleep in his crib but every night he wakes up like all the time!!