The output profiler if enabled shows all the SQL statements needed to render a page. Except for the session id, almost always SELECT select statements.
Suppose you create or update a channel, a new field group, custom fields, categories, statuses…would it be possible to output or log the INSERT and UPDATE queries for these actions?