I don't think it would necessarily crash, unless you intentionally wrote code to target a specific bug in Hex-rays itself.
You can certainly get Hex-rays to output confusing information on purpose without actually targeting it. If this was obfuscated, you'd expect that would be much more likely.
Truly obfuscated code will just plain cause the Hex-Rays decompiler to crash, producing absolutely no output at all.