No. HMRC will not guarantee that a disclosure will not be subject to a criminal investigation.
However, unless the subject of the disclosure is the proceeds of serious organised crime, a complete and unprompted disclosure will usually be resolved by a civil course of action. Whatever the circumstances it is highly advisable to obtain expert professional advice before making any disclosure.