You can choose to start in a free sidewinder, instead of rebuying your ship after face planting a star.
Although - IF it did end up something I wanted to do - might also consider gaining a bounty, for 'exploring' the detention centre. (Anyone know how that goes? I've got no idea at all).
How the hell you want to aquire a bounty in anarchy system?
You would have to jump with it to the restricted sector while already having bounty in Canonn faction so you can turn yourself in later.