You can power wash your engine, just at a low pressure (if your washer has variable pressure) and not directly into any electrics obviously.
I do mine regularly, using Megs super degreaser and agitate with a brush then a low pressure rinse. I dress all the plastic/rubber with autogleam.
Check out the detailing section on here, you will see all the pro's do it the same way.