One way to “get around” this is work it as a 1099, charge a high bill rate, and then just work less overall.
But, if you’re trying to move outside of a major contracting area like DC, youre probably better off just getting a remote private sector job.
Now I'm building software, involved intimately with designing and interfacing with specialized hardware, and travelling to interesting places doing interesting things with interesting people-- occasionally toppling off of combat machines. I took a 30% pay cut to do it. No regrets whatsoever, living life.
Most Top Secret work occurs in a SKIF. Basically you enter, lock your phone, smartwatch, and whatever else in a locker, then enter the area where the work gets done. This area is regularly swept for bugs and whatnot.
You can't work on "top secret" stuff on your own due to OpSec.