No, Security & Encryption for Confluence Cloud currently does not support import/export of Secret macros to Confluence through Space Export XML and you may lose your sensitive data. This issue is being tracked here (SEC-I-100).