How can I create a variable font with multiple variations of each letter importing each letter as a jpg?

What Georg is referring to is this:

Essentially, it won’t be a variable font in the sense that shapes/images interpolate between each other, but you switch shapes at certain axis locations. Have a look at the thread I linked (and read it a bit further, there’s some important info on limitations).