oh how to word this and not get a private message..
depends on how much nicotine and what kind of sleeping pill.
some Rx ones..you can vape yourself pukey and you're going to sleep...
generally it's the underlying cause for the insomnia/need for the sleepers that's whats keeping you up..not so much just a relaxing vape..sure nicotine especially in high doses is a stimulant, it's also when in small amounts very "relaxing" too..the net result is stimulant though
so if sleep's an issue, cut the caffeine and nicotine, take your sleeper, in a calm quiet environment and try to get some rest.