It might not be as simple as that. Clearly, you have to maintain the minimum required working clearance. But you can build an enclosure that is just a little larger than the service panel, and have the doors to the enclosure open outward (away from the panel), and have the doors wider than the panel itself, so that with the doors closed the panel is fully enclosed, and so that with the doors open and out of the way you have the clearance needed to work on the panel. What comes next into play is providing enough ventilation to prevent overheating the panel. For that, you will have to have a chat with the panel manufacturer.
Welcome to the forum.