I was wondering if there’s an openly available sample or demo of:

A model that trains and inferences in the browser
And updates a global model using federated learning

I was thinking of something like hand gestures model which retrains locally in the browser based on new user actions and model weights are updated on a central model.
Am I thinking it properly? Is there some demo/sample I can use as starting point? Is this even feasible?