I put 9 speed on my daughter’s hotrock 20, it was originally 7speed, with a screw-on, 130mm spaced hub so I had to rebuild the wheel with Claris hub… Check you don’t have a screw-on hub to start with, lots of kids bikes do.
Initially I set her up with an old LX shifter, but she didn’t get on with the triggers, so I got a 9 speed ‘rocket’ halfpipe shifter off ebay which she can definitely operate now… The Mech is a tiagra short cage, cassette is HG50: 11-30t.
V brakes should fit, but think carefully about the levers you choose and the reach adjustment they provide. My daughter is using avid FR5’s which allowed me to bring the levers well in for her small hands, they’re powerful brakes combined with the basic tektro Vs that came stock…