Yes, since I believe 2.1 you can make a self contained executable with sdk included using dotnet publish. You can read more about it here:
https://docs.microsoft.com/en-us/dotnet/core/deploying/#publ...
https://docs.microsoft.com/en-us/dotnet/core/deploying/trim-...