The majority of endoskeletons can't, only one of them is capable of jumpscaring you, and that is Yenndo. If we don't count the endoskeleton enemies from non-canon FNAF World, he is the only one who can harm you in the game.