Start at 2-3000 feet, whatever you're comfortable with. Line up with a road/power line or something you can reverse course and re-align with. Full power Vy, cut the power, nose over to the attitude you know will result in a best glide speed. You may need to refresh on that attitude first because you don't want to waste time looking at the airspeed, and it will be slow catching up with the pitch change anyway.
As you pitch over, sharply roll into a 45° bank - by outside reference only. You may need to practice outside reference with the attitude indicator first, but the goal is to be able to pitch and roll by outside reference only.
Start with the altimeter needle on a hard number so you can see how much altitude you lose during the turn around and re-alignment.
Each time you practice, you will probably lose a little less altitude.
When you are comfortable that you won't stall, start practicing at a lower altitude until you are comfortable trying it at, say, 1000'. Climb out from a runway and try it at 1000'.
Depending on the airplane, you should be able to get down a bit lower.
The normal turn to crosswind is at 700agl (AIM recommended).
That would be a reasonable goal, to start the crosswind turn, cut the power and continue around for a return to the runway.
There are many variables to consider and practice for. In a crosswind you would turn into the wind. Other possible off-airport landing spots may influence your direction of turn.
Strong headwinds may cause you to be to high with a quick turn, so you may want to increase turn radius or S-turn to get low, especially with a tailwind.
You will need to have a very isolated no traffic airport to do these shenanigans, and you may not get back around to the actual runway, but there may be a better spot at the 90 to 135° area.
I think we are all better than just taking what is in front or within 30°.
Certainly if it is downtown or a housing community.
It is our responsibility.