I do think my old projects are kind of terrible, and have many ideas to of what I could do better.
But if the project isn't actively used, it's more fun to make something new, so usually I don't do rewrites (90% of my hobby projects aren't used for long, or even finished).
(At work the result IS used, but it's not my call to rewrite it. And it's not very economically viable to do big rewrites, at least short term, so instead technical debs keeps piling up).