Japan's Prime Minister dressed up as Mario for the opening ceremonies of the Olympics. Japan actually has a law that makes it a criminal act to stream video gameplay without permission from the copyright holder.
In other words, Japan sees its most popular cultural exports (Nintendo, the anime industry) as national treasures deserving of utmost protection.
There is no circumstance in which Nintendo remotely bricks your console.
When you get banned for cheating, you are banned from that specific game's servers.
When you get banned for installing pirated software, you get banned from all Nintendo Switch online services. The console can continue to be used fully offline.
I agree that those who sideload pirated games and then take those games online are most at risk to have their device bricked.
It’s hard to be sure because not everyone who pirates or cheats will admit to it and there’s a lot of conflicting information online but I go online with Atmosphere booted sometimes and I’ve never had any issues and many others do the same
I don’t think Nintendo have any way to know if all you’re doing is booting a custom OS unless there’s detection code that no one found yet
I've recently been playing around with Switch Homebrew and sideloading - mostly so I could extract my savegames to play games I own on PC instead using the Yuzu emulator (4K 60fps is more fun). Apparently Nintendo is quite good at detecting modified software on the Switch and will permanently ban and brick your hardware, so you need to go through great lengths not to connect to Nintendo servers when booting the modified or sideloaded software.