Yes, what have already been stated. For sonic space only.
If I wan't my song to sound like Howlin' Wolf, I'll have a Howlin' Wolf song imported to my DAW.
I then compare overall balance of the mix, volume of instruments/vocals, fx's - correct/wrong - more/less etc...
I always use it because without it I get lost in the momentum and then I'll unintentionally stray further away from the sound I intended to capture from the start.
I usually have 1-3 ref tracks imported and muted in my DAW (Logic), when I need to check where I'm at I just unmute, listen, compare and adjust if need be.
To me a ref track has nothing to do with writing.
But I get that if you use your DAW as an instrument when writing and you have a fresh ref track up, I see where that could interfere with um...your own originality. That's like having a completely different song playing in the background while you sit with a guitar and try to write your own?!?! That's asking for trouble and inevitable plagiarism. 😃
So my advice is, use a ref track when the song is done and ready to be recorded, and use it only to capture a certain soundscape, for the whole mix or for certain instruments.
Hope that helps.
//Peter