No. If you stay up all night, you'll have to make up for the lost hours later. Night shifts can be detrimental to your sleep schedule. The best way to change your sleep pattern is to slowly reduce your bedtime until it better suits your needs.