That's the beauty of music. You can take a theme from a Bach sacred chorale and improvise. It doesn't make any difference where the theme comes from the treatment of it can be jazz.
Great souls are not those who have fewer passions and more virtues than others but only those who have greater designs.