A fascinating study with some students, and an Ig Nobel candidate if ever I sniffed one.
'More than half said they do it to unclog nasal passages or relieve discomfort or itching. About 11% claimed they do it for cosmetic reasons, and a similar number do it just for pleasure.'
And since you are bound to be interested - 4.5% said they ate the nasal debris.