Culling shadows near camera

Most lights offer an option to cull/fade shadows at a certain distance from the camera. Would there be a way to invert this and cull shadows near the camera and fade them in as they get further away?

Thanks!