Question: do alarms play through headphones?
Answer: No, unfortunately there is no such setting. Your best bet is probably to use a 3rd party app with alarm clock functionality. That way it will only play the sound through the headphones and not the speakers.