Drs/medical professionals have seen it allll u don’t need to try present a certain image of yourself to avoid judgement. They also don’t have moral superiority over you so if they do judge you, so what, it’s no different to some random doing the same. (Also there are plenty who will be more understanding so if it’s poss u could try find another if u don’t feel respected)
Also this extends to not avoiding appointments because you haven’t listened to their instructions (eg do sleep hygiene, flossing, exercises). They need to know!
You two should be a team with the same goal, so if you have different priorities re your health, or if there are barriers to improving your health, it‘s important and valuable to talk it through together.