I've dealt with Anorexia Nervosa for a veryyyy long time and then I developed Bulimia Nervosa during my recovery.
If you're using it to die - it's not going to work very well or any time soon. I would just give up that concept now.
If you're an adult, I would just tell your parents you're a grown ass person who just doesn't want to eat, lmao.
They most likely won't shove the food physically down your throat.
Obviously, you shouldn't be starving yourself, and I know you don't need me to tell you that. The reality of it is, you will eventually get weak enough, and then you'd no longer get a say with your body. You wouldn't be able to fight back (as in ANYONE can and WILL overpower you physically), you'd be forced into inpatient treatment, and you'd struggle to stay awake and do work/school. Anything you've enjoyed previously will be taken away from you, and you wouldn't get a say. The worse feeling you're going to ever feel as a human being is being put on a feeding tube against your will.
If you want to torture yourself for the rest of your existence, then having an eating disorder is definitely a way to do it.