Yes, but not very usefully. You're more concerned about ripple current by itself, not in relation to DC capacity (which is what the power factor tells you).
[Edit] To be clear, you can trivially ignore imaginary power by simply taking P = Vdc * Idc. This makes DC uniquely easy to measure the power flow of. (You will also see this definition used below.)
You can use an aperiodic definition for PF = S / P, where S is Vrms*Irms, for each frequency component, then RMS summed over all frequency components (apply Parseval's theorem on S(f)), and P is the average power over all frequency components (apply Parseval's theorem to v(t) * i(t)). (I think? I haven't worked it out in frequency domain in a while, I'm afraid.)
Or in time domain, obtain Vrms and Irms, multiply them, then divide by avg(v(t) * i(t)). A SPICE version of which is shown on my website here:
https://www.seventransistorlabs.com/Modeling/PMETER.html
A somewhat more useful measure might be to consider the reactive power in the switching inductor, relative to output (DC) power. This is roughly equivalent to the ripple fraction (inductor current Ipp / Idc), so is another way to express it; but one which can simply be divided by inductor Q* to get inductor loss, which is handy.
*Assuming same Q for all harmonics, or some equivalent value, which is... kind of an odd thing to have, but I guess would work. Anyway, the fundamental generally dominates, so it's not too bad to use Q at that frequency.