@Homebrewandhacking@bookstodon the Kingkiller Chronicles by Patrick Rothfuss might fit (I haven’t finished them - but eh neither has he but very good and the main character isn’t exactly a good guy)
Lynn Flewelling has a bunch of series that I’m a huge fan of with fairly conflicted heroes though she has some romance (in complex and LGBTQ forms including some characters in some of her series who change gender - unclear however if they are trans in a modern sense)