These type of pedals just send a cc value and have only 128 distinct values. Assuming you have 1000 songs in the list, each single step movement of the pedal will jump 8 songs up or down. The pedals I know are very hard to control in a way that only sends 1 increment. Usually a minimal movement will make the value jump by maybe 5 which would already result in 40 songs being skipped.
So while I think this proposal might work with small lists containing maybe 100-200 songs, it will certainly not work for a large list.
And I am not willing to spend weeks finding an algorithm for this feature that might make it usable in large lists.