Of course! In fact, I just discovered that The Art of the Fugue, which I believe Bach wrote toward the end of his career, really does sound better to me than his earlier stuff. Good for him for plugging stubbornly on in the genre he had mastered and which he knew best.