Yes, you can absolutely record acoustic guitar with a SM58. In fact, many professional recording engineers prefer the SM58 for its warm, full-bodied sound. Just keep in mind that because the SM58 is a dynamic microphone, it will require more gain than a condenser microphone. So make sure your preamp or audio interface has plenty of clean headroom before cranking up the gain.