i have an electric fireplace that is corded and gets mounted within wall studs. There is a nearby outlet I'm going to tap into for power but I don't know how to deal with the cord. It has a 3 pronged plug. Is it possible to simply cut off the plug and run the coated wire into the electrical box and attach the ground wire to the box?