I personally would not, especially if it's for decor, why take the risk?
The mushroom would eventually spore out, and create more mushrooms. It would then go to rot, and attract flies that could have been exposed to pesticides and it would have new bacteria and fungus, maybe even mold growing off of it. That could be deadly towards the mantis.