If you're running Semi-Annual Channel release then you can in-place upgrade between releases, but a clean install is always recommended.
https://learn.microsoft.com/en-us/windows-server/get-started-19/servicing-channels-19
--please don't forget to Accept as answer if the reply is helpful--