Maybe. Might possibly require flexible conduit if it is allowed to be hardwired.I would bet the UL listing may require cord and plug
That's why you grab the cordset from the old dryer.This is a type of appliance that is removed frequently enough many users would prefer plug/receptacle as they don't want to call an electrician or appliance guy just to move it temporarily to clean behind it or even change out with new unit - though that sometimes presents them with problems new one doesn't have a cord or has the wrong cord to match their receptacle.