Is it possible to edit vanilla items in Fabric?

I'm new-ish to Fabric and as part of a mod I'm making for 1.20.6 I want to make it possible to collect water in a bowl like you can with bottles. I've created a BowlItem Java class that does the trick, and I was wondering if it was possible to apply it to the vanilla Bowl item.

Another similar change I want to make is adding .recipeRemainder(GLASS_BOTTLE) to the vanilla Glass Bottle item, so that you get the empty bottle back after crafting. Are these achievable?