Hard chance it passes though. Nor that it goes through the SC. Unless, of course, it starts a litigation and its gets brought in front of a court and works its way up to the various Court Circuits to end up on the SC's desk.
There is no legislation or bill or anything, so far, codifying or even defining either the process of "gender affirmation" and how such process should be carried out.
That Alabama AG bases his reasoning on false premises. "Roe v Wade" was set as a precedent that went up to the SC that rendered a decision on it, but then overturned it (from federal to state level): it still exists but not as an all encompassing Federal blanket. If Red States decide to "ban" abortion, for it to be reinstated it would just need for that State for turn Blue again.
If we followed his logic, well... yeah... let's go back to the 18th century.