Thanks in advance.
You maybe could learn a skill while the kid is sleeping; but the irregular patterns and not-so-long periods of quiet sleep would better be used to do stuff you necessarily need to do (bills, paperwork, household tasks, grocery shopping, little repairs, making place in the cupboards, perhaps installing some furniture, etc.).
Usually given total undivided attention without rush to the baby leads to much easier and faster resolution; for example, when trying to feed, or sleep time, 30/55 minutes taking care that the kid feels well, that temperature is good (if it is to hot, for example, gently moving a towel), providing entertainment flying some toy and engaging them, quietly singing, etc. will lead to less time overall than trying to rush in 10 minutes and find yourself an hour later with a very tired baby that will sleep out of sheer exhaustion.
Best of luck and think that 5 weeks will look like nothing in the future. Think that if you had removed one year of your education in the past, quite probably, things would not have been so different anyway.
As other commentators said, you will get a very irregular sleep schedule. Essentially while the baby is sleeping. Luckily they sleep a lot, but while they are not sleeping they will require a lot of attention, and while they are sleeping you must do a lot of small task related to the baby or yous enjoy half an hour doing nothing.
You can try to learn something, it is not impossible, but it's hard.
Enjoy parenthood. It is also the most rewarding job you’ll ever have.