If the EPB actuator is to be replaced, then yes, the brake assembly (discs off, shoes disassembled) needs to be taken apart access and disconnect the EPB cables. The EPB can fail if too much crud is in with the shoes so maintenance & cleaning is key.
The wheel bearings are unrelated to the EPB...