A bike company I worked at came out with an Easton-aluminum MTB model; that frame was polished, branding- and model-stickers applied and finally clear-coated.
They looked great on the showroom floor.
My frame's coating looked a little worse for wear after a few crashes, with rocks scratching through the coating and wearing thin any high-wear points such as areas of contact used during portage etc. Once the coating was damaged, it started to peel and flake away — the exposed aluminum looked duller than the surrounding bits that were still clear-coat protected, still shiny. That's after one season racing on it, and of course I had the latest model for the following season but I kept using that first Easton frame as a training bike for a couple more seasons and the clear-coat took on a yellowish hue.
Some considerations:
A guitar pedal won't receive the same level of abuse my MTB frame did, BUT will still experience wear & tear (if not used with a looper), stomping on/off repeatedly;
I wasn't privy to what the Taiwan-factory used to clear-coat the MTB-frames, so other clear-coats may be stronger and maybe won't fog-out/yellow with age.
Materials technologies have advanced since the early '90s when I was thrashing that bike, so modern clear-coats might be less prone to yellowing and be stronger.
Despite the MTB-frame experience, I would go ahead with clear-coating my own raw/polished aluminum enclosures.