I had a similar noise to OP's post.
My car made a weird tapping noise on cold start, which sounded like it was coming from the top end of the engine. At the time my car had approx. 23k km / 14k mi.
Refer to the links below which clearly show the difference between how the car sounds on a cold start and after its warmed up (after an approx. 30 minute drive).
Cold Start:
https://youtube.com/shorts/QDf9iBTSk0o?feature=share
Warmed Up:
https://youtube.com/shorts/s3cdcPjblsE?feature=share
I took it in to the dealer for them to inspect it and carry out necessary repairs.
Overall, they carried out maintenance work on the exhaust camshaft. They replaced the gasket, 6 decoupling elements B13537628063 and 4 decoupling elements B13537577649.
Car sounded fine when I picked it up. I'll refer back to this post if anything else comes up.
If anyone can explain the following, I'd really appreciate it:
1) The function of decoupling elements
2) Whether them failing caused any premature wear or damage I need to be aware of