Congrats on taking this step (((elevated)))
You said:
"im praying that going inpatient is the right thing to do, in the midst of all this other stress"
And I think 100% it is the right thing for you to do, taking your personal circumstances that you have described into account.
Let us know how it all turns out for you.