Before I go through the effort of learning JUCE I’m wondering if the following is possible.

I would like to have a DAW plugin that listens to playback and exports the FFT data points to a .csv. The data format would be frequency hz and maximum dB (not average dB) of each FFT bin. I’ve read the JUCE FFT class reference documentation and would like to know:

Is this plugin possible?

Are there limits to the FFT size?

Is a windowing function possible and is it complicated?

Very much thanks in advance !