Maybe flexibility exercises, like extremely basic stretches and stuff, could help the body be ready for actual exercise when a safe weight has been attained. It might be dangerous to start exercising once attaining a healthy weight if all your joints are still completely fucked from being sedentary and obese for years.