pics from ebays (side note: this is a left rear regulator, used, and $30 with free shipping… not mine and don’t know the seller, but if it works…)
The motor can be removed and removed, but the rest of the housing is part of the rest of it, and that’s where the controller is located… probably right under the raised part number.
Subaru Impreza (2017) one that is partially disassembled….the plastic housing is different but you can see how it is attached inside. The relationship of the pulse sensor and the electric motor would also make it difficult to separate and swap parts around.