Hi @waseem55 !
At the moment, there’s no default option for that in WooCommerce, and customizing that would require additional coding. Custom coding goes beyond the scope of support we are able to provide in this forum.
You may find helpful the logic of the custom code snippets on this documentation to build your own custom code:
https://woocommerce.com/products/conditional-shipping-and-payments/
There is also a paid extension it may suit your needs:
https://woocommerce.com/products/conditional-shipping-and-payments/
For additional assistance on this topic, we recommend getting in touch with one of the customization experts listed on the WooCommerce Customizations Page.
Also, you can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack, you could find help from the community of open-source developers for WooCommerce that hangs in there.
However, I am leaving this thread open for a while to see if anyone can chime in to help you out.
I hope this helps. Best wishes!