I am assuming that you are joking about the hack thing. But in case you aren't why would you consider it a hack job with NM right into the disposal? This is perfectly acceptible. The wall switch is the disconnecting means.
No, the only times I've seen NM run to a disposal is when the hack ran the NM right into the wiring compartment. Never used a connector through the proper opening. And just left the cover off.