We don't know your reasons for wanting to stay close to home--maybe your sibling has been diagnosed with a terminal disease, in which case, yes, stay close to home. Maybe you are feeling nervous and want some extra support, in which case, you may want to see if your dream school has ways in which it can provide that support. Maybe your parents are really controlling and told you that you aren't allowed to leave home, in which case, that is less ok and maybe you should talk to a professional about that, because that requires a longer conversation than anyone on here can give you.
You may or may not have valid reasons for wanting to choose your home over your dream school. I don't think any of us can answer this without knowing more. You should talk to your school's guidance counselor or academic advisor or even a teacher you trust to get a more well-rounded answer.