Func
does not get registered or resolved by default but there is nothing stopping you from registering it yourself.
e.g.
services.AddSingleton(provider =>
new Func(() => provider.GetService()));
Note that you will also need to register IUnitOfWork itself in the usual way.