No, I stop using i pad, computer etc about 2 hours before I am going to bed.
Nowadays I have intermittent problems sleeping and can be awake for 2 to 3 hours anyway during the night, and have read that using these devices can hamper sleep so stopped using them a long time ago.
I play games on i pad up until a few hours before I go to bed but some of my friends who are also awake a lot at night, play when they wake, and right up until they go to bed.