Well, if we fully understand why and where you need to record the time spent, etc. - perhaps we would offer you a specific solution.
And since your request looks like a need to develop a business process that must somehow work, while fixing the time spent at some point and doing something with it further - all this needs to be specified and time should be spent on discussions, developments TK and settings - for this there are integrators.
Perhaps someone else in this topic will tell you a ready-made solution for setting up your business process, but this is a matter of chance ..
They can, if you form a minimum TOR, which will consist of a specific requirement - for example, "we need an AAA setting in action, so that instead of such logic there is such a logic here."
But in this case, I see only a hypothetical result, and not a description of the entire scope of the required functionality.
This is exactly what integrators are needed for - they, together with you, figure out what you need to the fullest, form technical specifications, evaluate and implement it through developers. They call it "Introduction".
The developer, if desired, can also act as an integrator
https://crm-onebox.com/en/integrators/