You may not know that there are millions of different capacitors with a dozen different specifications which may or may not matter in any given circuit.
Even in electrolytics and ceramics there a dozen different families which tradeoff different parameters such as;
Cost, Size, Voltage rating, tan delta @120Hz, ESR, ripple current , rated voltage, leakage current, temp. vs accelerated short life rating. e.g. 1000hrs at 105'C, self resonanct frequency, capacitance vs V vs 'C and shape, aspect ratio, value AND tolerance.
It depends on the application demands or specs for impedance(f), current (rms) and Vpk/rated ratio, leakage equiv R, ripple voltage, f attenuation. etc
Will it work? to do what?
For electrolytics; there are General Purpose polar, non-polar, low ESR, ultra low ESR, high temp, ultra high temp, high ripple current.
So for general purpose applications, no problem.
Due to impedance Z(f)=1/(2pi*fC) and Self Resonant frequency (SRF), some designs limit the useful range of e-caps to a few decades in f, and ESR dops with rising uF so SRF also rises with smaller uF ( family sensitive).
Thus it was common in power filters to use 0.01(ceramic)//1uF/100uF 0.047/4.7//100uF//1mF depending on design and surge currents and rate of dI/dt. There is no one solution to all problems.