YES YOU CAN, cause I just did. Ordered the cord from Amazon $18 or so. remove the dirt canister and vacuum head. remove all the screws from the bottom of the canister and pull the cover off. inside you will see a plate with 4 screws, remove this. Now you will see the crimp on wire nuts, I didn't have these so I just simply used twist on wire nuts and tape. Reassemble and vacuum away. Easiest repair I've had to make on a household appliance. Hope this helps.