Thanks for writing in! There is no inbuilt feature on X to handle such specific requirement. However it could be possible with some custom development which is outside the scope of our support.
I would suggest you to go through our customization best practices guide to get an idea (https://theme.co/apex/forum/t/customizations-best-practices/205). O else, you need to test some 3rd party plugins which allows similar functionality.
Thanks for understanding!