A democrat senator is still able to vote even if he is on a heart/lung machine and breathing and feeding tubes.
The rule of the Senate is that a Senator must be present to vote. That is why on serious votes senators have literally been brought into the chamber on stretchers.
I don’t think that has changed, even with COVID.
House rules may be different.