Yes, you can tap the Delay time from a footswitch. connected to the pedal input. The pedal must be a single momentary pedal - i.e. a Boss FS5U
NO, it is not possible to TAP the tempo via MIDI, but you can set the delay time via MIDI. CC#48 - values will go from 0 to 10000 ms.