Yes, you can use Samsung secure folder in your rooted phones just you need to flash magisk module. Use Smali Patcher tool and patch for your phone magisk module after done just flash in Magisk APP.