Yes.
Compact keyboards, found on laptops and tablet computers, always have headphone jacks. Some full-sized keyboards are now adding the option of built-in headphone jacks also.
As people move away from home office setups to laptop/desktop usage with docking stations at their workplace, it has become important to be able to plug in headphones so as not disturb others nearby with loud music or sounds for games or movies being played through speakers. Since many laptops don’t have this standard feature anymore – most tend only to have sound-playing capabilities that go through the same speakers they use for playing audio.