You are allowed to change your citizenship at the age of majority. At this point you can choose country that fits your needs and is willing to accept you as citizen at which point it's consent of both sides.    
Before you are major you are not allowed to make any legally binding contracts, your parents deal with that side of your live, and this is already separate question.