@thomas-dash
If you have a focus shift that is not the glass in the lens, then it is fixable alright.
The focus just shifting usually stay in that new unfortunate place yiu just need to turn the lens a little in one direction or the other,,,,,, VERY little, maybe a mm or two on the circumference of the lens so very few degrees.
But you do of course need to take the system apart to reach the lens.
Also the lenses are often secured in place with a little glue, the glue not inside the fine 12 mm thread you can usually pick off with something.
And you might need to also heat the lens and the mount a little, but not always needed, it is a good thing to make a mark some where so you at least know the set off point in your job.
Today a good aid is to connect to the camera to have a live preview going on a phone, and then aim it at something while you ever so little twist the lens.
Another way is to make minute adjustments, record a little footage of something where you have a chance of gauging the focus, last time i did so i used text on some cardboard boxes 5 M away and live preview on my phone, and then fine tuned on a 50 yard bench rest paper target i put up in my kitchen ( 10 M ) and then worked the lens again.
It is a little strange working a camera like this half disassembled, but doable just fine.
The lens and mount often sit on their own little PCB connected to the main PCB with a short ribbon cable, be careful not to dislodge this, they only snap in place in both ends, there are videos on who these ribbon cables work on youtube.
When you are done, the lens of course have to get secured again or it might come loose again, i have used things like model glues but even paint / lacquer, just something that can ( glue ) the lens to the mount again.
Do NOT use CA glue
You could maybe also just not glue the lens / mount but assemble it as is and then glue the circumference of the lens to the plastic shell.
There are also videos on youtube on swapping lenses on various action cameras, these often use the exactly same 12 mm fine thread lenses.
The process are much the same, just different types of cameras / housings of course.