Yes, illegal with respect to the laws of the country, but there are many countries where most economic activity is underground/casual, not tracked by the state/outside of capital controls, and crypto is absolutely muscling into those spaces because it allows for complex financial infrastructure & also much better security compared to holding it.