I forgot to add that Algebra Chapter 0 takes a similar (albeit slightly different) approach of teaching Abstract Algebra in terms of Category Theory. I don't have a link right now but I'm sure you can find it on libgen. (I've only read the first few chapters of Algebra Chapter 0 yet, but from what I've heard the rest of the textbook is as good as the first bit.)