Well for the health of the vfd yes but i wonder if that weighs up to potential problems...

Also it depends on what you are machining most. MDF will put dust in everywhere

Vfd in cabinet with a...