I think most people struggle with confidence issues at this stage, in particular thinking is this really good enough for a PhD? I always set over-ambitious deadlines (e.g. writing one chapter per week) and then get really fed up when it doesn't work out! Also you are pretty much working without supervision, but in my experience when you do get feedback it's much harsher than in the earlier stages, which doesn't help with the confidence issue!