[DIY] Hard wired appliances

No reson it wouldn't work the only issue I see is the added room needed for the box for the female plug. Mike