Is comfort nursing a thing? Or wanting to nurse to fall asleep

My baby does this all the time. He will cry and cry just to get on the boob to pass out