No, one cannot stay at Hemkund Sahib at night, it is advised to leave by 2 pm to reach the base camp, Govindghat by dusk.