A former Queensland prosecutor has had his name struck from the roll after committing several drug offences, despite a judge finding the crimes were linked to post-traumatic stress disorder he developed from exposure to child exploitation material at work.