If you can get to the back, I see no issue... far too many people, including me in the past, jam their cabinet against the wall and find they have trouble accessing the back for those cables and plugs that will inevitable need replacing/changing... unless you manage to stay clear of made in China stuff (if it's at all possible nowadays).
If your first cut is too short... Take the second cut from the longer end... LBD