My mother had her machine converted to electric and it had a lever you pushed with your knee. If you want the treadle foot power maybe someone could hook it up with a generator to make power, like on a bicycle for a light.
Have no idea if it would work. Ask a electrician.