Don't be ashamed of how you write. There are no wrong or right ways.
I drink Coke Zero whilst I'm writing, although I know it's bad for me.
I sit in a Wetherspoons to write although i profoundly disagree with it's politics.
I procrastinate as much as anyone else. But I mainly procrastinate by writing something other than the thing I'm meant to be writing.
I write alone. I write with other people. I write in the shower and on the toilet. I especially like to write on the train, it feels like stolen time. I write in bed sometimes if my guitar is nearby. I write before or after a shower. I write in rehearsal rooms and whilst walking down the street. I write while I'm walking and while I'm cycling. I write now, but most of all I write later. I write in the morning, afternoon or evening. Sometimes I don't write at all and that's ok. Sometimes I can't be arsed to write anything. And there is nothing that I would like to do less. Sometimes I write what I have to write, but most of the time I write what I want to write even if there is another deadline for another piece of writing looming round the corner. I try to find something I want to write in the things that I have to write. And then usually the things I have to write become the things I want to write.
I write for the pure pleasure of it and I also write to earn money. I write for my audience and for producers but I also write for myself. I write when I'm happy and when I'm sad. But I find it very difficult to write when I'm depressed or when I'm tired. So when I'm depressed I talk to my friends. And when I'm tired I try to go to sleep if I can. I write when I'm sick, although I'd rather not. I write as a means of expressing myself and as a means of understanding more about the world. I also write because I'd rather write than do anything else for a living. I write musicals, short stories, poetry, lyrics, music, songs and novels. I'm better at some of these things than others and I don't mind that. I write in quiet places and noisy places. I write in pubs and cafes, but I also write by rivers and in fields. Sometimes I research things before I start writing, sometimes I dive right in and research later. I write as a means of catharsis and as a way of leaving something behind. I write to inspire myself and to inform and inspire others. I write to leave a path through the wood although I know that the path I am leaving will likely never be followed by another writer. I write not so that others might follow my path but so that others will know that it's ok to make their own. I write to tell people what I've learnt but also to ask people for help. To ask what they know. I write with a cup of tea or without. I write when I'm hungry and when I'm frustrated. I write because I want things to change and I want to be a part of that change. I write because I have ideas. I write because I want to get better at writing.
Some writers have routines. Some writers are as wild as the wilderness. Some straddle the gate between the two.
All writers are writers. It doesn't matter how you do it.
The important thing is that you write.