funny 3 days ago i have talked about modding a real pedal for sim racing.
for it to work, we do need something that can "translate" your driver input you to digital imput. Like "fanatec" does with magnets for a very precise measurements over the hole spectrum.
But the bottom line is, if you want to use one of those pedal that are use IRL you should look at a price range of about some of the expensive sets +- 10-20£ but then again the pleasure of doing it yourelf and geting to work outweight the prize of just buying a set.
But all i all not a bad idea