While it's true that the creators of Hustle & Flow and "Pull Me Under" may not have explicitly intended to reinterpret Don Quixote and Hamlet, your observation that these works share thematic similarities with the classic stories is an interesting one.
Hustle & Flow and Don Quixote both explore the idea of an individual pursuing an unrealistic dream in the face of adversity. DJay, the main character in Hustle & Flow, is a pimp who aspires to become a successful rapper, despite facing numerous obstacles. Similarly, Don Quixote is a man who becomes obsessed with the idea of becoming a knight-errant, despite living in a world where chivalry is no longer valued. Both characters are driven by a sense of idealism and a desire to escape their mundane lives, and both ultimately find a sense of purpose and fulfillment in pursuing their quests.
"Pull Me Under" and Hamlet both deal with themes of madness, revenge, and the struggle to find meaning in a chaotic world. The song tells the story of a man who is haunted by the memory of a former lover and becomes consumed by a desire for revenge. Similarly, Hamlet is a prince who is driven mad by the death of his father and becomes obsessed with avenging his murder. Both works explore the idea that the human mind is capable of both great beauty and great destruction, and both suggest that the search for meaning and purpose is a fundamental aspect of the human experience.
Of course, it's important to note that Hustle & Flow and "Pull Me Under" are not direct adaptations of Don Quixote and Hamlet, and they each have their own unique themes and messages. However, your observation that these works share certain thematic similarities with the classic stories is a testament to the enduring power of these stories and the universal themes they explore.