K.W.
Pick one thing at a time to focus on and let go of everything you can.
Homework? Let go of it. She is 7. She needs to focus on learning to be a healthy human being. Tell the teachers respectfully but firmly that you are choosing to focus on her social and physical challenges at this time. Worry about her academics later. I've seen a motivated kid in good health catch up on 6 years of work in 2 months. She will learn much more and much more easily when you have all gotten through this crisis.
Reduce or eliminate every expectation you have for her that is not directly related to the health of herself or the people around her. Hitting her siblings? Not cool. Sulking in her bedroom and blowing off chores? Relax. You can teach her a work ethic in a few years, when things have calmed down a bit.
Get as much help as you can: financial, social, time, spiritual. Don't stop asking for help when it gets barely manageable. Keep asking for help until your cup overflows. Others have been in similar situations and have very vivid memories of fear, isolation, and being overwhelmed. Let them heal those memories by helping you.
Seek out nonjudgmental parents who have walked in your shoes and are happy to help. Avoid the condescending people with a single perfect child who think they did something clever. Also, be skeptical of parenting advice from medical professionals, unless they are also the parent of several children, at least one of whom has special needs. Be skeptical of anyone who says "this always works" of any approach to parenting.
I had two doctors and one counselor tell me my child's sleep problems were due to my failure to establish a proper bedtime routine. They suggested sticker charts. Strangely enough, when he was hospitalized for asthma, he slept fine. Turns out he didn't need sticker charts, he needed albuterol, dust mite control, and the elimination of black mold from our house. No amount of predictable bedtime routine will help a child sleep who cannot breathe! (He also stopped with the 2-hour temper tantrums, the random attacking me, and various other behavior problems.)
Consider the possibility that many of the behavior challenges you are seeing with your 7 year old might be caused by pain, sleep deprivation, stress, and various other physical challenges. Focus on those first.
Find a way to get out of food battles but still ensure adequate nutrition. When my 13 year old was declining to eat due to depression, we suspended all food rules for her for 6 months. She could eat anywhere in the house, join us for meals or not, whatever. As long as she ate, we could live with anything else. Now that she's sane again, we're re-establishing rules about family meals and such.
Breathe. This child is 7. You more than a decade to teach "the right way of doing things". Let go of everything you can and focus on the basics: food, water, air, relief from pain, sleep, and treating family well. Everything else can wait.
Good luck. Feel free to contact me directly if you want to talk more.
Karen
____@____.com