Yes. Accessing material that has been deemed illegal enough to be the subject of a country-wide block is generally going to be a criminal offense. We might all hate censorship, but the people who write the censorship laws are the same as the ones writing the criminal laws. If you are using technology to bypass blocks imposed by your local government, you are probably some sort of criminal in the eyes of that government.
This is why I don't like people who casually advise people facing a block to "just use a VPN". Doing so might put them in danger.