You shield yourself from the degeneracy, so that's a plus, but it's still worth doing a self-examination of why you want to work out.
Well, I have some personal experience with this. Twenty years ago, when I was in my early 30s, I developed some severe, chronic upper and lower back spasms that were debilitating and greatly hindered my well-being. They were probably caused by some of the physical labor I did while in the military. I also shattered the rotator cuff in my left elbow playing flag football, which made the whole arm weak and less flexible. For the back spasms, the doctors, following western medicine, wanted to keep pumping steroid shots into my back muscles.
I fixed the back spasms myself and greatly improved my arm situation by weightlifting. It seems that strengthening my core and developing the major muscle groups in my body, especially my back and abdomen, cleared up the back spasms. They have not bothered me in years. My elbow rarely bothers me either. Lifting heavy weights increased the range of motion of the injured elbow and strengthened it sufficiently that it really doesn't get in my way.
In my opinion, our male bodies are designed to be at their best carrying strong, dense, fairly heavy muscles. You shouldn't juice, but you should have a heavy weight regimen that you follow your entire life, perhaps reducing it a little once you're in your 70s.
My area has somewhat severe winters, and since I'm training for an Ironman, I really rely on the treadmill at my local Gold's gym for indoor running in the winter months. I know I could buy a treadmill for home, but I don't have that much room and the expensive treadmills at the gym have wider running surfaces and withstand the wear and tear better than a cheaper home treadmill. The gym also has a lap pool that is absolutely necessary for triathlon training. Swimming laps at Gold's is much cheaper than paying to do it at the local rec center. My health insurance gets me a discount at Gold's.
Yes, some of the women at my gym seem to be competing with each other at how close to being naked they can be without someone calling them out for it. My wife, who usually goes to the gym with me, and I joke about it all the time. She thinks they're being silly rabbits. My wife doesn't dress like that. It makes me almost laugh out loud sometimes at some of the outlandish outfits some of the women wear. It doesn't seem to make me want to fornicate, but perhaps that's more because of my age and my focus on getting ready for the Ironman, which is no joking matter.
My gym plays general Top-40 music at a low enough volume that I can tune-out the lyrics. Also, there is very little, if any, pick-up action going on there. In fact, in two years, I've only seen once some guy try to pick up one of the girls. Also, there is no open LGBTQAXYZ nonsense going on, that I can see.
I would suggest choosing whether to train at home or at a commercial gym based on your goals and needs. Try to arrange your schedule so that you can workout when there aren't as many scantily-clad women present, which is usually anytime except the evening. I do recommend weight training with the express purpose of building the size and strength of your muscles, as you'll discover the benefits of it as you get older and have less problems with your back and joints.