Is it safe to ride on cracked tyre?
The cracks will expose the internal structure to elements. So yes, they are not going to last as long as non-cracked ones but very probably not going to explode right away either.

The Nokia tires that used to be popular in my country developed cracks between tread and sidewall after a few months' use and could still be ridden for years afterwards. Your mileage may vary.