In my line of work (auto repair), we degrease the engine/transmission/etc after completing (sometimes prior to starting, depending on the situation) a repair. This is offered more as a "Return to not broken" service than as a "Detailing" service.
I`ll speak only to what we do here, and I`ll add that I would not recommend this as a blanket method. The cars I see have well protected connectors/expensive parts and thus we`ve not had any items damaged from the degreasing process. The only issue I`ve seen is where guys get careless and direct water at the ignition coils/ignition coil area and get water down in the wells. No permanent damage, but causes a misfire due to spark jumping to ground through the water.
We use a Winzer product called "Tek Orange". I have no idea what the secret sauce is, but it`s the best touchless degreaser I`ve used in my career. Most impressive aspect is I`ve not had one instance of aluminum damage, either noticed right away or at a subsequent visit. We ran out once, and while trying to find a replacement I did run into a small amount of that on an aluminum undertray with a different degreaser (don`t remember which one).
The affected area gets sprayed with degreaser, allowed to dwell, then rinsed with a jet stream of water from a hose. Not crazy about the idea of waving a pressure washer around under the hood...
Some small touch up may be required, I`ll usually just chase it with "brake clean" and compressed air.
Being into detailing on the hobby front, I`ve brought my own touch to the process in the form of taking some steps to up the results a little. Since (again,) we`re cleaning to remove traces of the old leak, not detaling the underhood area, I limit the time I spend but I think it really helps to leave a good impression to the customer. I`d call it more "Cleaned with intention" than detailed.
After degreasing, I`ll take any of the underhood plastics I`ve had off and mist them with ONR at rinseless wash ratio (I feel like any Rinseless would probably yield similar results). I`ll then spray them off with compressed air to blow the dust out of ribs, nooks, and crannies. Finally I`ll wipe them quick with an ONR sprayed microfiber, flipping to a dry side for final wipes.
You`d be surprised what a difference it makes. I`ve had customers compliment how the underhood looked after a repair which was quite the bonus.

If I had a car come through where you could tell it was an Autopian/Autogeek that actually cared about their car on a different level (IE: Not an appliance), I`d skip the ONR as to not mess with whatever their underhood regimen is; but for your average Joe I feel like ONR will be short lived enough that it would clean off if someone went in for an intentional detail.
I`ve really been wanting to take the RW mist/compressed air to a larger scale to see the results, but we don`t do car washes after repairs so I don`t wanna risk moving the dirt where I can`t deal with it.
One other thing I`d mention would be if you`ve got grime/oil/grease around valve covers/etc, I`d look at getting the leak repaired.
Hopefully this helps. I`ll see if I can dig through my phone and find an "After" picture of what they end up looking like.