I've done it for years with no ill effects...
If you don't have the enclosure built yet I'd have internal braces in the locations on the panel where the amp will mount...
And on the outside I like to use little rubber washers to keep the amp off of the surface and absorb what little vibration might be there...
The amp takes more abuse when you go over a railroad track than when the bass hits
