yes.

both my boys were breastfed to sleep, on demand, overnight...all the time actually!
ds1 self weaned at 14 months old and ds2 at 20 months old. They both put themselves to sleep now and sleep all night.
hang in there, you're doing a great job!