If you are planning to do it once... is not a problem, but I don't advise it to constantly do it. ANY work where you apply too many hours in a row... can cause problems, not just for your health, but also for your project. Our bodies, especially our brains are not design for that amount of "stress", "pressure".
I would advise to stop maximum every our... stretch your legs... eat something, drink water, and most important of all... try to look at something that is far way, this prevents problems with your eyes (making it break the flow of looking at something that is really close).
Again I don't advise this in any way, and I speak from personal experience. Spending time without sleep (coding or doing something else) can cause big problems in your brain ( specially related to memory)
Hope you finish project.