The idea that you have proposed is good, but NIOS generally requires that though you can re-take your class XIIth examinations, but the time of taking examinations have to be separate years. Like say you will give your class XIIth exams in 2022, then you should appear for the NIOS maths paper after your official class XII exams have ended.
Hope I have answered your question. All the best!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile