Of course it is. One man's blasphemy is another's free speech.
If society deems blasphemy unacceptable, then it must develop social sanctions to discourage it -- not criminal or civil sanctions.
RE: social sanctions to discourage it — not criminal or civil sanctions.
Well, blasphemy can be legal then.