I mean, I don't think so personally. Like I said, we haven't really seen any type of throughline of cheat codes being replaced by the equivalent effect but in microtransactions. There are tons of games out there with absolutely zero microtransactions and yet still no cheat codes. If some companies were replacing cheat codes with MTX it would follow that at least some of the vast plethora of other developers that don't use microtransactions still include fun old school style cheat codes in their games. But that isn't the case. What is the case is that more or less no game full stop has cheat codes anymore. But what do they all have? Achievements.
I get that microtransactions suck and I do hate them too but I don't think we can just blindly blame everything on them.