My preference is an air spring, that way you get constant pressure through the entire range of movement. But if you can use a coil spring that is quite long relative to the needed movement, I think it should work fine. Loading won't be constant, but should be close enough.