Allegations of mistreatment, self-harm and prolonged isolation have sparked an investigation into the supermax facility.