If your lucky enough to attain a backpacker´s permit for Half Dome, you can avoid day hiker crowds by getting up before sunrise and making your way up. Crowds usually start forming as early as 9am. The light is much more pleasant early morning anyway. There are off trail camp sites before the shoulder you can find. Be careful not to camp right by the shoulder of the dome, they´ve been cracking down and handing fines.