As was already commented on... Miles had a notorious habit himself.
In many ways, Jazz of the Bebop era and beyond was defined by heroin and other drug use.
To this day there are unapologetic users who swear they will continue until they pass on their own or heroin and such carries them away...