You can't receive workers' compensation if you are being paid the same amount you received before your injury. This is even true if you are not working at all. Your employer can decide to pay your full wages or salary even if you are working fewer hours, doing less work, or not working at all.
However, what your employer can’t do is insist that you perform work that is restricted by your disability. For example, if your doctor says that you can’t work more than four hours a day, your employer can’t insist that you work five hours a day to receive your full payment.
In short, your employer can be more generous than the law requires but can’t be more strict than the law allows.