M.L.
As a hairstylist, I can say yes, the keratin treatments and flat iron can cause all that damage since that hair is still on your head. Pregnancy will change your hair, and it will usually stay changed.
Since I don't know what your hair looks like, or the length or anything, it is hard to say exactly what to do. But getting a good shorter cut, with some graduation will add body. (Layers will actually thin your hair more). Getting conditioning treatments and regular trims are an excellent idea. I love Sebastion's Potion No 9 for a mousturizer creame. Just be very light heanded with it, becaue it can weigh hair down as well. I would also get a glaze done, a Sebastion/Wella salon would be able to do one called a ColourShine that is very healthy for your hair, adds moisture and shine. They typically last 4-6 weeks, longer if you take cooler showers as hot water washes them out quicker. There are a lot of conditioning treatments you can do at home as well. For added body, Sebastian has an excellent (though expensive) product line called Body Double that adds tons of volume to thin, limp hair.
Also, do not brush your hair when wet (use a wide tooth comb or pick), allow it to air dry at least 75% before blow drying, always use a heat protectant spray such as Paul Mitchell's Seal and Shine before using a flat/curling iron and use small sections at a time. Don't use tight rubberbands or buns/ponytails with wet hair, as that contributes to breakage.
Thyroid and other medical issues can cause similar problems, so can well water. But since you just had bloodwork done, I guess you can rule that out.
Also, work with your natural texture, not against it.