First you will need a Bread Machine. I use the Breville BB420, but what you are after is a machine that you can program. On this machine it is accomplished using the "Manual Set" button. Consult your machine instructions for individual operation, but what you are trying to achieve is No Kneading, Maximal Baking Time (for me this is 2 Hours 30 Minutes) and a Maximum temperature (for me this is 150°C/302°F).
You will need to experiment and definitely watch the Potatoes the first couple of times you do this.
Disclaimer: You do this at your own risk, if you burn your house down or kill someone it is your fault, anything could happen blahdy blah blah blah...you get the picture. Oh and you will probably void your warranty.