Yes, NanoVNA allows to show exactly this graph. And even more, it allows to see two traces - active R and reactive X part of complex impedance Z=R+jX. And many other impedance related parameters, such as LCR, Q-factor, crystals analysis, etc.
Also it allows to see impedance in time domain, where on Y axis you will see impedance and on X axis you will see propagation time, so you will see how impedance is varying across the full RF path to the load. In that way you can see how connectors and soldering affecting impedance. But don't expect much from TDR on NanoVNA, since it's bandwidth is limited to about 1.2 GHz. More modern models have 3 or 6 GHz bandwidth and it should give you better TDR resolution.
Usually S11 and VSWR are more common units for such kind of measurements, so NanoVNA by default is configured to show S11 and VSWR, but you can configure it to show traces for |Z|, R and X components of Z=R+jX with no issue.
So, NanoVNA will show you much more detailed and precise impedance measurement from 10 kHz to 900 MHz. Of course, you can configure frequency span as you wish, for example from 100 kHz to 50 MHz as on your screenshot, or from 100kHz to 500 MHz.
For comparison, Red Pitaya cannot do it above 60 MHz.
In other words, the NanoVNA can fully replace the Red Pitaya for impedance measurements, as the NanoVNA is capable of displaying all the same parameters as the Red Pitaya in impedance analyzer mode. However, the NanoVNA allows for impedance measurements over a much wider frequency range, expanding its application potential compared to the Red Pitaya.
The difference is that the Red Pitaya also allows operating in receiver or transmitter mode, or as a spectrum analyzer. In contrast, the NanoVNA can only measure all parameters related to impedance.