Synthetic cannabinoids like JWH018 are a failure , I've tried it. Nothing like the real thing. And it's reported to cause psychotic episodes. I don't think I would trust synthetic mushrooms. Regular mushrooms can already be very nerve wracking
There are already psilocybin prodrugs that are legal on the market that are qualitatively identical after metabolizing. Pre-metabolism there may be distinct phenomena and concerns, but it degrades quickly.
Cannabinoids are different entirely; i can't speak to the dangers there, particularly when combustion is involved.