I agree that proper neck support is important for tmj health. It also depends on the symptoms and origin of the problem. See a TMJ specialist to help you with the treatment.
I was told to roll a towel and when you lie down your neck will be where the towel is. ITs very uncomfortable at first but you get used to it.
Proper neck and head support is beneficial to tmj.