I do sort of understand where the OP is coming from. Before my marriage ended, i was fat, scruffy, had bad hair and rarely wore any make-up. I felt unattractive and had no confidence.
Then... i started going to the gym. I lost a fair bit of weight. I bought nicer clothes that flattered the figure i'd worked hard at getting. I changed my hair and makeup to more flattering and attractive styles. I felt better about myself - and because confidence is attractive, men noticed me more. The attention was flattering, so i got more confidence. Its a virtuous circle.
I went from a partner who treated me poorly, to a string of men who just wanted to get in my pants, to a bloody WONDERFUL boyfriend, who treats me like a queen and who respects me as a person.
So yes, i do understand the OP's question. Improving yourself on the outside gives you confidence on the inside. When you are confident, you dont settle for the first scuzzy man that comes along, you wait until you find a decent man who meets YOUR standards.
Go for it, OP. Make those changes for yourself, my lovely, but then reap the benefits.