It sounds like you are supportive of her and her struggles, and that is all anyone can really ask for in a relationship. However, she knows she’s not in a good place and has taken the initiative to realize that it may have affected your relationship on a romantic level, along with actively not keeping the ‘spark’ there.
All you can do now is let her know you’re there for her and support her. It will work out the way it should, no matter how much you want to push it to go the way you would like.