to answer a notable, this article says that RGB voted before she had the surgery.
She did not vote from hospital.
having said that, CNN is saying that she can vote on upcoming cases because she is working from home or wherever.
Are they assuming she will vote in person? IDK
https://www.nbcnews.com/politics/supreme-court/ruth-bader-ginsburg-has-malignant-growths-removed-lungs-n950916