O
Outspoken
of course they can - all depends on the wording of the freehold agreement doesn't it, so it's contract law and nothing to do with part p.
The clue as to their legal rights and responsibility is FREEHOLDER but I do believe this is not the correct term because the OP does not own the property and is thus a LEASEHOLDER and as such the ownership of the property has not changed hands and you have simply leased the property for a stated period of time, such as 99 years. The law on this quite tight and the Council, as the Freeholder, has certain legal rights, but they have no right to dictate to leaseholders who can and cannot work in their home as long as the work is not structural and the works are completed by a competent person (Part P compliant or Gas Safe registered), however they have no legal right to state that you cannot have a person undertake the work if that work will be assessed as to competency, in fact common sense says this should be more acceptable because the work will be independently inspected and thus should be 100% compliant and even safer than other installations...
By the way, I have family who are leaseholders in Hackney and Waltham Forest so I know what the council's legally can and cannot do, the problem is most leaseholders do not and so the council bully them into their understanding of the regulations..