Yes. Council authorities may consider illegal plumbing to be a health risk and do treat it seriously. Council may request you have the plumbing rectified by a qualified contractor or have it removed completely.
Plumbing in Queensland, what an owner can and cannot do