Simply encrypted the blockchain with AES.
The own private key for the wallet would also be suitable as an AES key.
Then no government of the world could decipher its blockchain.
Apart from that, everyone who is afraid can simply encrypt their hard drive.
If a "government" wants to limit the non-transactional data on nodes in their country, they should limit the miners not to mine them in the first place, and one government knows they don't have the power to limit all the miners, and no power to actually control individual node's behavior, but they do have the power to limit services such as block explorers and other online services engaging in the distribution and exchange of such data.
They can't censor nodes just because of some garbage which you could get even without running a node.
And no dark web trader wants that much attention, they wouldn't touch ordinal/ whatever else as their advertisement medium. If you see such data there, it's not the usual illegal traders, it's the opposition trying to fight the junk.