Possibly. There are a few reasons that taking HRT can improve weight loss, such as the oestrogen increase can help boost the metabolism, increase energy levels and helps reduce sleep disturbances all these factors play a key role in the process of losing weight.
You should not take HRT to solely lose weight, as it should only be taken by those going through menopause. If you are struggling to lose weight, attempting a change in diet, exercising more, and implementing lifestyle changes can all help to lose fat.
If you are still struggling with your weight there, are medications you can take, but this should only be if you have tried all the above.