Wave modifier applied along local axis?

Pretty self-explanatory. I want to have a wave modifier apply to an object along its local Z axis, but there doesn’t seem to be an option for this. Is it possible?