Try this: If you cannot launch Dynamo in Revit 2021 with NullReference IsOptedIn error
If that stuff doesn’t work disable all Revit add-ins and remove all Dynamo packages.
If that still doesn’t fix it reach out to support directly via the accounts portal at manage.autodesk.com.