Yes sortof, its just horribly slow. I guess yoru trying to do a macro recorder. Those exist allready no need to reinvent the wheel here. Tough you may actually want to use api for this.
Sure just hook all attributes of the node in a loop (aswell as attribute added and deleted hooks + connection hooks etc). Its the sort fo scriptjob you dont want to do tough. However please indrstand that may may actually edit a lot of values over one call to setattr (especially when using a slider).
Yes its just even more insaner than 1, but on the upside involves no scripJobs