is there a way to physically delete codes from your ECU

well the tranny isn’t going to cause emission codes which is what the inspection computer looks for. the problem tho is the check engine light will be on which no matter what is an instant fail