I've got an o2 mcxb case that's got an extended power cable so it's possible to do. This is the tricky bit though, if you want to extend your own cable then before you begin you have to make sure you're not an idiot

Once that's out of the way it's a breeze.