No you can not configure it to disable the replication. The best solution in this case is to write custom expiry job and disable the out of the box expiry job.
One hack is to disable replicate permission of "dynamic-media-replication" user but again it is not recommended as it is an anti pattern to update system users which come out of the box from AEM code.