it depend on country, yes.
for example, bitcoin is illegal in Asis
once I heard a good quote on one of the best conferences i was going to( Blockchain life!)
the quote is:
since you start to earn money that wasy, then it will be illegal"
\sounds stupid but its true