Is it legal to move out at 17 if you have a kid of your own and another one on the way and you want to move in with the father of your kid but your parents won't let you?
No. Having a child, or two, does only emancipate you regarding your own health and the children. Regarding everything else you are a minor and need parental permission to move out.