Inscriptions do not make use of OP_RETURN. It’s pretty difficult to prevent people from publishing arbitrary data on the blockchain while also keeping a flexible scripting system around.