Is "UI Event logs" a thing?

working on a "Google/AWS Cloud management console" style web-app where I need to "make UI better".

I recently noticed a pattern in zocdoc app where if you click the arrow on date selector 5 times, it will show a message "you can also open date picker".

I wonder if logging events and trying to recreate simulations might give me insight into what problems users are actually facing. I wonder if this has ever been done. I did not find anything on the internet.

Would this be effective? Is anyone aware of anything like this?