Some cortisone drugs taken for conditions like asthma may cause insomnia, which is why it may be better to take them early in the day. Some research suggests that steroid injections to treat back pain will improve the quality of sleep.