Hi Trygve!
Sorry to read about your struggles.
I would highly recommend seeing a MD. Your primary care physician can check you first and maybe forward you to other checkups. So that you can be sure you are fully recovered and ready to start with training. The last thing you should do is to “shock” your legs. Take an easy buildup, but first get a medical checkup done.
all the best!
Thomas