Should not be a problem to do. You can export / import the scope from old to new.
https://learn.microsoft.com/en-us/powershell/module/dhcpserver/export-dhcpserver?view=windowsserver2022-ps
https://learn.microsoft.com/en-us/powershell/module/dhcpserver/import-dhcpserver?view=windowsserver2022-ps
--please don't forget to upvote
and Accept as answer
if the reply is helpful--