fender amp hardware

Can you pack a mini amp inside a guitar?
I was just wondering if you could take one of those tiny “plug and play” amps and embed it inside the guitar, then remove a part of the wood and put the speaker and a wire mesh guard in there. It would be a cool thing to try. Or would that not work because of hardware, etc.? What about fitting in a mini amp? Like the Danelectro Honeytone or Fender Mini
try this link…it’s exactly what you’re looking for…http://www.fernandesguitars.com/nmd.html
Fender Pro Junior with Celestion Greenback