I never understood why they harshly crack down on homebrew. Pirated games sure, but homebrew? Maybe they dont want parents finding their kids downloaded some R-rated homebrew content?
Jailbreak to running homebrew is often used as excuse to running "copy". To avoid this, allow homebrew officially like Xbox is a way, but maybe Nintendo think it's not their way and it need much internal work cost unless it's Microsoft (the development tools and security company).
I knew someone who was working on something that was meant to stop piracy over at Microsoft many moons ago. Microsoft realized its not their battle to fight, besides most of the pirated software isn't even theirs.
What you're saying makes some sense to me, but I also don't think you can ever truly stop jail-breaking, unless you guarantee the end user is surveilled at all times and can deploy local law enforcement on them the moment they try anything suspicious, even when the device is turned off... Like it would be insanity levels.
Xbox haven't be jailbroken since Xbox One (prev gen, first homebrew support, with virtualization protection tech), so their track record is pretty good. Perfect jailbreak prevention is impossible, but MS does pretty well.
I had no idea, I gave up on consoles and became a PC gamer, I did buy a Switch because I wanted something handheld, but I'll probably get something like the Steamdeck in the future (though I hope it would be the Steamdeck v2).
I found a video that outlines how and why this is:
tl;dr Microsoft provided incentives for people not to even bother trying to jailbreak the console, especially allowing people to buy developer mode for $20, which allows running homebrew applications including console emulators (which had I known sooner, I would have bought an Xbox One ages back so I can emulate old games I have around the house, but dont want to wire up the various consoles I've got, its nicer to just have the one console).