Internal medicine

I’m a medical Student in final year from India. I will complete my internship in the year 2024.
Is it possible to complete just internal medicine in uk take MRCP and come back to my home country and complete cardiology in India.
I want to do just 3 years of internal medicine in uk
Will it be considered as post graduate degree equivalent in India and will i be able to pursue cardiology here in India after that.