It definitely is a powerful way of thinking. And yet, implementing transformations used for event sequence/path/time series/complex nested data structure analysis in SQL is like using tweezers for the job. Set thinking is powerful, SQL has limitations.
Agreed on the nested data structures. Sometimes you have to work with them though. I finished a project where I had to integrate/analyse data from a factory system originally developed in in the 60s (cobol). Even normalizing 'complicated nested data structures' != fun.