Sounds like a P+R stunt so far to me. But it is doable, there is a working power line from Germany to Norway already. The only question is: is it a good idea to build a direct Morocco-UK power line or would it be more clever to connect Morocco with a shorter line to the central European grid and from there to the UK? Why should they sell to the UK and not central Europe?
But power lines can be built, no doubt. But then, as I said, you can as well transport wind energy from the coast to the rest of the country.