Having an unprotected cable in a metal backing box or pattress box can be dangerous. The wall is moving as it expands and contracts. This means the cable is moving too. If it rubs against the sharp edge of the pattress box it can cut the cable. Be safe, always install rubber grommets.