Op,
Don't move out. you will be letting your lovely children down.
From today, right now, make a plan as to what you will do when you feel the rage coming on.
When problems start if Dcs are in a safe space or at home,
go and march fast up and down the road outside the house for 15 minutes. Say 'Stay here' to dcs and just go immediately.
Do it as often as the rage starts, (really think about how it feels as it starts and be ready to recognise it)
Whilst marching fast, concentrate on talking really deep breaths and count them in and out, 4 in, 4 out. 15 minutes later the rage should have subsided.
If driving stop the car safely, and march fast,up and down the road and do the same.
If in a public place, sit Dcs somewhere you can see them and do it in eyeshot.
This can be an emergency go to when you feel your anger start.
Once you know how to identify the anger coming on and what to do to remove and calm yourself, you should work on your parenting skills to avoid the dcs triggering this.
Sit them down and explain you are not leaving as you love them far too much.
Apologise for the hitting, say it won't happen again.
Tell them what you will be doing when your anger gets out of control.
Tell them that from now on you will be much calmer and in control.
MEAN IT.
Identify where your frustration comes in at home and make changes, discuss this with them.
if it is because they don't do something when asked , tell them calmly you will tell them twice, then there will be X consequence, it could be losing a phone for a day/x box/outing.
If your frustration is with DH make a plan with him and stick to it.
Bailing out on your family is not an option, they must be feeling horribly insecure and hurt. You need to take responsibility for your actions and take a good hard look at yourself then make the changes.