Yes, it is illegal to sell a deleted truck in Oregon. Tampering with a vehicle emmision system violates Federal law, and Oregon supposedly enforces that law. (funny since we are a sanctuary state that refuses to enforce other Federal laws)
With that said, almost everyone I know have deleted...