A position player bunting, yeah, would probably violate the unwritten rules, but I think it's generally expected of pitchers to bunt in that situation. I wonder what the reaction would be if he swung away and hit a gapper? But a pitcher just passively leaving the bat on his shoulder and taking the out is basically an argument for the DH.