I am considering doing an MBA for getting into product management. I wanted to understand if there are specific courses in b school that helps with the jobs and cracking pm interviews? I have tried interviewing for PM roles and not been able to crack it. some of my swe friends who wanted to move to product did an MBA started to crack pm interviews post their MBA.
An MBA is a much more in-depth and holistic degree that will teach you a bunch of things that you have no idea about as a SWE. That's why it's so lengthy (2 years for full-time) and costly (around $150k all-in for tuition + cost of living, in addition to 2 years of lost salaries).
There are a bunch of other solutions that have an immensely better cost/value ratio. Have you read decode and conquer or cracking the pm interview? Have you done any mock interviews with other PMs? Have you watched any videos or read any blogs posts where people analyze the PM interview questions?
If you do want to get an MBA, then by all means go for it. After the program you will have knowledge on a huge number of topics that you don't even touch as a SWE, eg marketing, operations, finance, statistics, presentation skills, etc. You will have amazing opportunities to participate in business case competitions, consult nonprofits, work in corporate boards, etc. Just have in mind that the goal of an MBA is much wider than passing a PM interview. This would be like using a 787 airplane to hit a nail.