A few ideas from a very tired "brain":

  • Have you considered polyphasic sleep?
  • Would setting up an environment where you could type but close your eyes or otherwise rest them help?