The consumer unit needs to be accessible. Accessibility is often a matter of opinion but if your loft isn't boarded and you need a ladder to get in then I don't think you could argue that it was accessible.
Another point is that cables need to be derated when running in your loft insulation...