Yes. I recommend that you ignore the original headlight connector block, cut off the bullet terminals and fit a Wago connector block for the browns. Here is a link.
https://www.screwfix.com/p/wago-222-series-32a-3-way-lever-connector-50-pack/76776These are much more reliable than the original junction box.
In fact, I would recommend buying the variety-pack from Screwfix
https://www.screwfix.com/p/wago-basic-installer-connector-set-75-pack/48808as this gives you lots of options for connecting two wires, three wires or more into a single connector block. It makes it very easy to install additional circuits for extra lights or accessories. Wago connectors are reusable and you can even use them for their original intention; to re-wire the house.
The wire to the horn is an earth and connects to the (usually) white wire from the light switch on the handlebar.