absolutely, active learning is the best way to learn,
Try to break up the work, like sarah says take regular breaks and do something enjoyable in the breaks. go for a swim, play some pool with some mates, and have something to look at the end of the work e.g go to the cinema, relax in front of the tv or something.
Good luck