You can use this mod in an unpatched switch but I'd recommend looking into the fusee suite for trinket m0, xiao and other boards.
it's basically an internal payload injector , rcm jig with some neat feature and doesn't rely on glitching.
If it's unpatched, that's the better choice imo.