A system (100, 200) for neuromuscular phantom limb pain rehabilitation of a patient (102, 202) having an affected limb (104, 204), said system (100, 200) comprising: a control unit; a video capturing device connected to the control unit and arranged to acquire a video stream of said patient (102, 202), and to provide the video stream to the control unit, a display (106, 206) connected to the control unit, and arranged to receive the video stream from the control unit and provide real-time visual feedback comprising the video stream and a virtual limb to said patient (102, 202), a plurality of electrodes (110, 210) connected to the control unit and each configured to provide, to the control unit, at least one electric signal generated from a portion of said patient's (102, 202) body, said at least one electric signal corresponding to an intent to move said affected limb (104, 204); and wherein the control unit (108, 208) is configured to: perform pattern recognition of said electric signals, wherein features in said electric signals is used by the control unit to predict motion intent of said affected limb (104, 204) adjacent to at least one joint, to thereby predict aggregated motions being individual motions of several joints of said affected limb (104, 204) performed at least partly simultaneously; track a predetermined portion of said patient's (102, 202) body in the video stream, based on tracking of fiducial markers arranged on the affected limb (104, 204); in said real-time real time visual feedback, superimpose said virtual limb onto the predetermined portion of said patient's (102, 202) body, and control said virtual limb to follow said predetermined portion of said patient's (102, 202) body in said real-time visual feedback such that said virtual limb remains in an anatomically correct position, based on output signals from said performed pattern recognition, control said virtual limb on said display (106, 206) to perform motions corresponding to said aggregated motions, whereby said motions of said virtual limb are individually and simultaneously controlled by said patient (102, 202) via said intended motions. a control unit; a video capturing device connected to the control unit and arranged to acquire a video stream of said patient (102, 202), and to provide the video stream to the control unit, a display (106, 206) connected to the control unit, and arranged to receive the video stream from the control unit and provide real-time visual feedback comprising the video stream and a virtual limb to said patient (102, 202), a plurality of electrodes (110, 210) connected to the control unit and each configured to provide, to the control unit, at least one electric signal generated from a portion of said patient's (102, 202) body, said at least one electric signal corresponding to an intent to move said affected limb (104, 204); and wherein the control unit (108, 208) is configured to: perform pattern recognition of said electric signals, wherein features in said electric signals is used by the control unit to predict motion intent of said affected limb (104, 204) adjacent to at least one joint, to thereby predict aggregated motions being individual motions of several joints of said affected limb (104, 204) performed at least partly simultaneously; track a predetermined portion of said patient's (102, 202) body in the video stream, based on tracking of fiducial markers arranged on the affected limb (104, 204); in said real-time real time visual feedback, superimpose said virtual limb onto the predetermined portion of said patient's (102, 202) body, and control said virtual limb to follow said predetermined portion of said patient's (102, 202) body in said real-time visual feedback such that said virtual limb remains in an anatomically correct position, based on output signals from said performed pattern recognition, control said virtual limb on said display (106, 206) to perform motions corresponding to said aggregated motions, whereby said motions of said virtual limb are individually and simultaneously controlled by said patient (102, 202) via said intended motions. perform pattern recognition of said electric signals, wherein features in said electric signals is used by the control unit to predict motion intent of said affected limb (104, 204) adjacent to at least one joint, to thereby predict aggregated motions being individual motions of several joints of said affected limb (104, 204) performed at least partly simultaneously; track a predetermined portion of said patient's (102, 202) body in the video stream, based on tracking of fiducial markers arranged on the affected limb (104, 204); in said real-time real time visual feedback, superimpose said virtual limb onto the predetermined portion of said patient's (102, 202) body, and control said virtual limb to follow said predetermined portion of said patient's (102, 202) body in said real-time visual feedback such that said virtual limb remains in an anatomically correct position, based on output signals from said performed pattern recognition, control said virtual limb on said display (106, 206) to perform motions corresponding to said aggregated motions, whereby said motions of said virtual limb are individually and simultaneously controlled by said patient (102, 202) via said intended motions.