I'm absolutely certain my mother has this, although she's doing much better with it compared to when I was a child. She would get these ailments that she felt were 100% some physical symptoms for which no doctor could ever find a cause of or treatment for. She saw every kind of specialist and quack in existence. The issue she was fixated on would change over time as well.
Bad news is that no direct action ever worked to convince her to get mental health help. If anything trying to convince her that her issues were factitious made her condition worse. To her it felt like people gaslighting her. She felt that her issues were real and physical in nature and telling her otherwise was tantamount to calling her a liar.
At various times she saw therapists and psychiatrists(sometimes at the insistence of medical doctors), but that never helped, for whatever reason.
IMO, the only thing you can do is try to be supportive while trying to redirect him to focus on other things. Nothing else ever seemed to help in my situation.