Yes most modern cars should be OK with being rinsed in engine bay. I still like to cover some exposed stuff that may look sensitive to water for example when I have my dual cone intakes, some exposed relay connectors or my alternator to if it's open to the stream of water. I also started disconnecting my battery just because it gives me better peace of mind although I'm sure it's still fine I've done it before.
You will want to use some kind of degreaser or all purpose cleaner and I also like to use a foam canon as well for the less grimy areas and go over with brushes and etc. And then rinse it off, dry and dress it up.
