If the work asks and his/her co-workers & boss agrees, then I don't see any problems. But if he doesn't asks, or people in the office object to that, and he/she still wears headphone, I consider this a very unprofessional behavior in a work environment.