You're missing the point. Corrective lenses have thickness. For the frames that use magnets to add a sunglass layer, they only work because it can go on the outside, with the lens already set in the frame at the right distance from the eyes/lashes. It just wouldn't work in reverse, to take a sunglass lens at the right distance and snap something in behind it. You'd get oily lash streaks all over the corrective layer constantly.
It's even worse if you wear really thick glasses, because sometimes they even have to sit slightly proud of the frame in the front.
Your solution just isn't viable for this problem, as any longtime glasses wearer could easily tell you.
If that's not enough, there's a whole industry of people designing eyewear; you really think "What if you just added the corrective part inside the tinted part?" wouldn't have been done if it were viable?