I do all the time. When I go down the random path I never come back and nothing gets done.
My Steps are:
Step One: Figure out how I want to say it. Bluey, rockish, folky, trad, fusion. Which leads to..
Step Two: Decide on a song forum. It makes your life easier knowing how much space you have to do what you are going to do.
Step Three: Write the progression(s). Pen and Paper, Band in a box...doesn't matter.
Step Four: Lay down a basic rhythm track that isn't too busy. If you put to much into the first track then there isn't enough room for the other parts.
Step Five: Work out the melody. If you are a singer songwriter most of the time you can combine steps four and five. Whether you are playing instrumental music or vocal music having a clearly defined melody helps to guide all parts that follow. Including the solo, the bass and other instruments. Yes there is sill plenty of room for variation.
Step Six: Work out your other parts so they support the melody/harmony.
When you have a plan you can focus more on what needs to be done next as opposed to what do I want to do now.