It is possible as a long day trip — roughly 1.5–2 hours each way by train via Donauwörth and Augsburg — but an overnight stay allows you to see the town in the evening when day-trippers have left and experience the morning market atmosphere. Verify current train connections on bahn.de.
A verified photograph is not yet available for this topic.