The German recording duty (BAG, 13 September 2022, 1 ABR 22/21) applies to employers for their employees. A freelancer with no staff is not covered, and nobody will ever ask to see your timesheet except a client. That sounds like freedom, and it is also why most freelancers have no idea what they earn per hour.
The reasons to track anyway are practical. Clients who pay by the hour want a statement of hours (in Germany a Stundennachweis or Leistungsnachweis) with the invoice, and some contracts require one. Your tax adviser does not need your hours, but a fixed-price project you lost money on is only visible if you know how many went in. And the number that decides whether your rate is right is revenue divided by every hour you worked, including the unpaid ones.