That's a very interesting question, but in many years of reading and forum following I've never heard of anyone receiving a hernia from tucking. A physician could doubtless tell you if there's a risk, but I rather doubt it. With the usual tucking method, you push the testicles into the hollow at the front of the abdomen. I'm no expert, but it doesn't seem to me to affect the intestines there. By all means, discuss it with a doctor, though, if it worries you.
Many of us who've long been wearing women's wear with male lap parts have found the tucking issue not that big a deal, though. For one thing, you only need to fully tuck when wearing the tightest lower body clothing. While they look cool, you don't have to wear skinny jeans or leggings every day. With many skirts, short and even jeans most of us can get by without fully tucking. I find tight panties, control panties and such hold things pretty well with many things without raising the testicles inside. Show carefully and give your goodies a break now and then.