air travel – Can I take sealed PC parts in the plane from UK to Morocco?

I recently bought PC parts that cost me £4500 and I’m a student in UK for almost 3 years and I’m going back to my country which is Morocco in October.

Now i’m wondering if I am allowed to take these sealed PC parts with me, and if am allowed so there any tax should I pay, and if there is how much will be.