After few months of what will feel like vacation to you, in the company of fresh smart people, you'll start to get bored, even despite doing more hobby programming in your free time then you done in a long time. But at this point your freelancing clients will direly need you. So you'll take some jobs for weekends and evenings, at way higher hourly rate then you used to have.
After a while of that let one of your freelancing clients hire you but not as freelancer but a full time remote employee paid not for hours of coding but rather for 8 hours each day, same way you were paid at corporation.
After working for two or 3 years like that your problems with motivating yourself will come back but till then hopefully you'll get enough money to take a long break and then get hired somewhere else or do something else entirely.
As a side note don't ever play MOBA games. You'll get hooked so bad you'll have very little time to do any personal development and will have trouble enjoying any other games you enjoyed previously.