Yes, Browning wrote dark humor in his works. His poem “My Last Duchess” is an example of his use of dark humor. The poem is about a man who is describing his late wife to a potential new wife. He describes her as being beautiful, but also as being cold and cruel.
Browning's Brilliant Verse: Unveiling the Legacy of Robert Browning