The usual advice is to find a different job with actually flexible scheduling or night shifts, for good reason.
Our fixation on “normal” makes people resist getting help that would make their lives easier and possibly make it easier for them to be “out”.
You have no idea what your coworkers are struggling with. I found out one had stage 4 cancer by asking why it was taking him so long to fix a problem. I’ve had exactly one coworker in >20 years who was open about being on the autism spectrum, and people were weird about it.
Nobody wants to be defined by these things so they don’t bring them up.
You don’t need “in general the reactions” to be positive, you need 100% of your bosses and peers to have a positive reaction, and you need to be able to predict it ahead of time because you can’t but that cork back in the bottle. Developer communities can be small. That information could affect future employment opportunities as well.