@wanttoknow2,
You don't, far as I last knew, get scoliosis from bad posture - - - but maybe poor posture from it. Plenty of people with routine bones have poor posture.
I've been pronounced years ago to have some of it, but it has had no effects on my life. I well know though, that it can affect people who have it severely.
I've an artist friend with an actual humpback. She is really a beautiful woman, and not just for her mind, great face, but her sense of self, her glorious hair, her dealing with a wretched mother who dismissed her, her love with, for a long time, a major artist; her cooking, she has been a fabulous cook. Her career as landscape architect together with her organizing school gardens. Her artful landscape designs. Her own art, not negligible.
On your question, I assume exercises by professionals, maybe licensed physical therapists, will be useful for getting yourself doing well. But have you actually been to a doctor and talked with her or him? Learn to talk and ask.