I have tried it and it works. It is not as good as a dedicated drier and not as energy efficient.
The worst filament was some 5 y old pla that was so brittle it snapped when unrolling from the spool, that just couldn’t be fixed on the heated bed. I had to dry it at 50°C for 12h to be usable again.
I can also recommend EndeavorOS, mostly seamless install even with a Nvidia Optimus GPU (well that one took a bit of research on what to install exactly, not that it’s easier on other distros)