Hmmm, not sure about that.
The sun heats the surface creating a coma. the out gassing and particles from the comet surface are blown back by the solar wind creating a tail.
You may be correct, in which case the tail would always point away from the sun regardless of the comet’s direction of travel.
It’s been awhile since I studied comets, thank you for correcting me.