In our custom RunUO server we're actually on .NET 7 (but we got rid of self-compiling of scripts, we compile them manually from our IDE).
You can technically upgrade to whatever you want. It just needs patience and elbow grease.
You can create the project from scratch if you've all the files.