N.J.
Hello S.: I raised five children, all are in their 30s now. I had a couple who had night time tantrums, plus a couple of grandkids that did the same thing. Here is what I did. When it was bedtime and the child started having their "fits," I would join in with them. I'd cry and lay on the floor and kick and do everything they did. They would see me doing this and start laughing every time. I'd whine and just go off with them and they stopped. At first they might hit at you, but you hit at the air but simulate their actions.
Let me know what happens. I have more advice if you need it.
N.